I'd like to control Robotis Corp's Dynamixel.
The Code ls
void Packet( unsigned char ID, unsigned int Angle)
unsigned char Check_Sum, Header = 0xFF;
Serial.write(0x05); // length
Serial.write(0x1E); // address
Check_Sum = ~(ID + 0x05 + 0x03 + 0x1E + Angle + (Angle>>8));
This cord works really good at Arduino Uno, But It doesn't work at Galileo.
How can I Solve it?
If you want to send serial data through pins 0 and 1, then you should set the serial object as Serial1 instead of Serial. Try changing the serial object Serial to Serial1, and test the code again.
Retrieving data ...