-
I'm trying to inherit functionality of the base SerialUSB class on a Pico in the arduino framework. I've created a header file which contains: MySerial.h: class MySerialUSB: public SerialUSB { in my main ino: upon trying to compile; I get a compile time error: I've tried including several different files but can't seem to get the compiler to pass. I've done this before on the Nano and haven't been unsuccessful. I'm sure I'm doing something simple but can't seem to figure it out. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Did you try including SerialUSB.h, either near the top of your .h file after #include <Arduino.h>, or before #include "MySerial.h" in your main .ino? |
Beta Was this translation helpful? Give feedback.
-
The issue here was id 10 t error. |
Beta Was this translation helpful? Give feedback.
Did you try including SerialUSB.h, either near the top of your .h file after #include <Arduino.h>, or before #include "MySerial.h" in your main .ino?