I have my own board here and I'm using it to put it in SimulIDE, I based it on the Arduino Uno.
To use the serial monitor on this board of mine, a library called HID Serial is used.
#include < HIDSerial.h >
HIDSerial serial;
and in it, there are elements that were modified to use the serial monitor, for example:
When we add Serial.begin(9600);
it goes like this:
void setup(){
Serial.begin(9600);
}
In this library, to use this syntax, it would look like:
#include < HIDSerial.h >
HIDSerial serial;
void setup(){
serial.begin();
}
That in the case "serial.begin();" is the same thing as "Serial.begin(9600);"
Is there any way to add it to the simulide so that it understands this syntax so that I can use it? Because I compile it for simulide, it doesn't work.
To use the serial monitor on this board of mine, a library called HID Serial is used.
#include < HIDSerial.h >
HIDSerial serial;
and in it, there are elements that were modified to use the serial monitor, for example:
When we add Serial.begin(9600);
it goes like this:
void setup(){
Serial.begin(9600);
}
In this library, to use this syntax, it would look like:
#include < HIDSerial.h >
HIDSerial serial;
void setup(){
serial.begin();
}
That in the case "serial.begin();" is the same thing as "Serial.begin(9600);"
Is there any way to add it to the simulide so that it understands this syntax so that I can use it? Because I compile it for simulide, it doesn't work.