Add the SoftwareSerial object with the Rx/Tx pins you wish to use.Change all references from Serial to USE_SERIAL.Add a #define for the Serial Object in use e.g.Include the Software Serial Library from vMicro > Add Library > Current Platform. To wrap all of your code to be compatible with SoftwareSerial and Serial we suggest you:. When you change to "Release" Configuration this code will deactivate. NOTE - Visual Micro provides _DEBUG automatically if you enable the Project Setting ""Configuration Define _DEBUG" and set its value to 1. If you are not using the Serial Breakout then you can just comment out all Serial Code for now (wrap with a #define to make it easy to switch on and off).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |