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 ?

Gautier Vallat
Gautier Vallat
20
| 0 0 0
Asked on 7/8/23, 2:35 PM
0
vote
787 Views

put this below the include libraries  in the code:

#define DebugStream SerialUSB

After put this in the setup code:

SerialUSB.begin(9600);

 

Carlos Flores
Carlos Flores
14
| 0 0 0
Answered on 8/10/23, 6:46 PM
0
vote

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!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

68 follower(s)

Stats

Asked: 7/8/23, 2:35 PM
Seen: 787 times
Last updated: 8/10/23, 6:46 PM