Skip to main content
9 events
when toggle format what by license comment
May 22, 2019 at 12:54 comment added Mayank Oh got it... ty! (:
May 22, 2019 at 12:42 comment added CrossRoads bytes. I declare them before setup() so they are global. I declare all my variables there. Probably an abuse of how scope of variables was intended, but it works ok for the small embedded programs I create.
May 22, 2019 at 1:52 comment added Mayank What are upperbyte and lowerByte ? Int type data type?
May 22, 2019 at 1:39 vote accept Mayank
May 22, 2019 at 1:39
May 22, 2019 at 1:22 comment added Mayank Oh cool! Ty ((:
May 21, 2019 at 16:47 comment added Duncan C Yes, you can use this method to send any value from 0 to 65535 (2^16 - 1). If you need larger values than that you can send an unsigned long using 4 bytes. That will give you a huge range of values. (0 to 2^32-1, which is over 4 billion.)
May 21, 2019 at 14:57 comment added CrossRoads 257 decimal = 0x0101. highbyte = 0x01, lowbyte = 0x01. x01 << 8 + 0x01 = 257 decimal, so sure.
May 21, 2019 at 14:44 comment added Mayank Does I can get 257 as a output too? With that logic?
May 21, 2019 at 13:46 history answered CrossRoads CC BY-SA 4.0