write and read values are different between two nanos via I2C


there pot connected slave nano. , want read master nano. when check serial port screen see master , slave nanos have different values pot signal. use 2 4.7k pull resistors comm wirings between a4 , a5. if send static value or char there no problem. when integer variable both slave , master have different values same pot signal.

why have, on slave, 2 variables named potread, different scope?

why read pot 5 times, , throw away 4 of values?

doing serial.print()s in isr (which istekgeldiginde() is) not idea.

why send 2 byte value, read 1 of bytes?


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > write and read values are different between two nanos via I2C


arduino

Comments

Popular posts from this blog

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Is there an HTML component in Flex 2.0?