I've design a custom board with the main mcu being a msp430. I also have an openlog on the board and I am having trouble getting it into command mode. After looking at the arduino examples, I see that Serial.write(26) is written three times to enter command mode. So the msp430 is sending commands to the openlog via UART and so far I've been able to store data when the openlog is in read mode but I haven't been able to get it into command mode and I suspect its because the msp430 isn't matching the arduino protocol exactly.
My question is, is the 26 in decimal form (which is 0x1a) or is that already in ascii form (which is 0x3236). I haven't been able to find a sure answer on that one yet.
So far it is not working as I've not been able to detect the '>' character in the receive buffer after I send the command prompt three times. I scoped the RX lines on a arduino and found it sends its data LSB first and and LF in between each character.
Any tips would be helpfu!