<Class_define.h>

Hello,

Recently got an Industruino Indi/o and i would like to test the sketch from following article:

https://industruino.com/blog/our-news-1/post/4-20ma-sensor-4#blog_content 

Unfortunately, when compiling i get following error.  Which library should I include to get rid of the error?  Can't find anything in doc.

I'm new to this, so if info can be found somewhere, please let me know!

Thanks

Martin

#include <Class_define.h> //required for Indio library
                                                       ^
compilation terminated.
exit status 1
Error compiling for board Industruino D21G.

 

Martin
Martin
4
| 2 1 1
Asked on 4/24/18, 9:26 AM
0
vote
2514 Views

Dear Martin, please just remove that line ( #include <Class_define.h> //required for Indio library), it was only required for old versions of the Indio library. After removal of that line the code should work. Please also note that old versions of the hardware using AVR microcontrollers (32u4 and 1286) use Serial.* for serial printing to the USB terminal. The current D21G versions of the hardware use SerialUSB.* for the same, so you might have to update some lines found in older blog posts.

Loic De Buck
Loic De Buck
1263
| 3 1 3
Answered on 4/24/18, 2:41 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

43 follower(s)

Stats

Asked: 4/24/18, 9:26 AM
Seen: 2514 times
Last updated: 4/27/18, 6:48 AM