![]() If you have a Teensy, it is even easier because Teensys use native USB to upload code (i.e. You can then have program uploading done on the Serial port as usual, and have the CI-V bus connected to Serial1. ![]() It's much easier if you have an Arduino which has at least two hardware serial ports. You could use the Arduino's hardware Serial port on pins 0 and 1 but that makes development/debugging difficult. ![]() ![]() When you use softwareserial you can't read a character while you are writing one. The CI-V protocol requires that you be able to read and write a serial character at the same time because CI-V requires that when you write a byte, you also read it back to make sure it is what you sent (the CI-V hardware "reflects" the Tx back into the Rx).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |