Hi
I try to control servos with the AXE031 SD21 board using i2c.
I need to send the low byte and the high byte of a integer word (numbers between 1000 and 2000)
In BASIC is very easy
...
let w0 = 1500;
hi2cout 1, ( b0 , b1 )
...
But in Blockly it's no so easy because I can't access to b0 and b1.
What is the simplest way to send those bytes (Blockly)?
Maybe adding functions/convertions/operations like "lowByte" and "highByte"?
I try to control servos with the AXE031 SD21 board using i2c.
I need to send the low byte and the high byte of a integer word (numbers between 1000 and 2000)
In BASIC is very easy
...
let w0 = 1500;
hi2cout 1, ( b0 , b1 )
...
But in Blockly it's no so easy because I can't access to b0 and b1.
What is the simplest way to send those bytes (Blockly)?
Maybe adding functions/convertions/operations like "lowByte" and "highByte"?