![]() When sending the LSB will be firstly transmitted as a packet of word format."Īlso the software that does it is c++, so i would've thought it be almost copy paste. One strange thing on the protocol sheet is the statement "Note: Reading about TTL and RS232, they are both LSB first, the device is 9600 baud, 8 data, no parity, 1 stop bit, no flow control. I'm using the above code to see if I ever get a reply of anything from the device, and the red LED is never lighting up Now the issue is I'm getting different values to what I see in the Serial Monitor, to what the logger is showing. Anyway.Īnything I have a logger on the usb end allowing me to see the data as it comes in live. Or were the TXD/RXD other way around, can't remember and don't have the board in front of me, I know I'm only getting data from one configuration so I'll assume that is the correct way. A USB-to-serial adapter or simply USB adapter is a type of protocol converter that is used for converting USB data signals to and from serial communications. I've got a usb to rs232 converter with a rs232 female plug wired up so the 2nd pin (TXD) is going to my Arduino Uno pin 0, 3rd pin (RXD) going into pin 1, 5th going i nto ground (changes nothing either way with what i'm getting). I've been pulling my hair out for a few days now, what am I doing wrong?
0 Comments
Leave a Reply. |