Open main menu

Speeduino β

Changes

Secondary Serial IO interface

143 bytes removed, 3 years ago
Retrieve realtime data
"A" confirming the received instruction (sent as 0x41 in hex),
The port will now transmit a single byte in hex ,this is the number of bytes it is about to send .This is currently 0x39 (57 in decimal).
The port will then transmit ALL the realtime data.
"r" confirming the received instruction (send as 0x72 in hex) ,
The port will now transmit a single byte in hex ,this is the number value of bytes it is about to send the "r" , type command, confirming what was requested.
The port will then transmit the realtime data requested starting at the byte position sent for the number of bytes length.
56 = highByte(currentStatus.canin[7])
Can input 7 HB
 
== Read external analog data ==
125
edits