Hello
t want to connect a ev3mindstorms whit UART .
I'm trying to solve this problem can you help me please
THIS IS MY PROGRAMM
#include <SoftwareSerial.h>
#include <EV3UARTEmulation.h>
#include <Serial.h>
EV3UARTEmulation sensor(10, 11, 99, 38400);
void setup() {
Serial.begin(115200);
sensor.create_mode("TEST", true, DATA8, 1, 2, 0);
sensor.reset();
}
unsigned long last_reading = 0;
byte data = 0;
void loop() {
sensor.heart_beat();
if (millis() - last_reading > 100) {
sensor.send_data8(0, data++);
if (data > 99) data = 0;
last_reading = millis();
}
}
MY ERROS
C:\Users\FERDI_~1\AppData\Local\Temp\arduino_modified_sketch_305698\test.ino:3:20: fatal error: Serial.h: No such file or directory
#include <Serial.h>
^
compilation terminated.
exit status 1