Go Down

Topic: Modbus 1/7/N/1 (Read 528 times) previous topic - next topic

Graynomad

Quote
For 25 LEDs you only need 4 shift registers.

That was another thread :)

Quote
how do I set the MSB to 0?

He said "setting the most significant bit to 1" BTW.

For every byte you send OR it with 0x80. Eg

Code: [Select]
send_modbus_byte (my_byte | 0x80);

Quote
Is that really all I need to do?

Should be.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

zabaat

Did you find a library you liked for modbus communication yet?

Go Up