4-20mA.ker : How to have serial output on Arduino IDE ?
After uploading my sketch, I'd like to test and see the results through usb serial. I tried many different config but I cannot see any output showing up. What is the correct way to display serial output on Arduino IDE for 4-20mA.ker ?
put this below the include libraries in the code:
#define DebugStream SerialUSB
After put this in the setup code:
SerialUSB.begin(9600);
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 7/8/23, 2:35 PM |
Seen: 787 times |
Last updated: 8/10/23, 6:46 PM |