I'm trying some Arduino Micro connected to a LoRa module and I've spent the last 2 days trying to make a simple task.
This is the code
void setup() {
Serial.begin(9600);
while (!Serial) {}
}
void loop() {
Serial.println("Hello From Arduinno");
delay(3000);
}
Very basic, but not working on the Micro. I've tried the same code on Arduino Uno and it works perfectly, like it should. But on Arduino Micro I can't receive anything, then I've tried something different. On the same breadboard I've built both project, on the UNO and on the Micro, sharing the same power from a battery, and magically the Micro started to work !
I'm really confused now, I don't thing I need to use pullup resistor for the RX/TX pins, but maybe I'm wrong.
Did anyone had the same experience with this problem ?
By the way, I have several radio modules and several Micro and I've tried all of them .... I'm going crazy !
Do you have any suggestion ?
Thanks for everybody's time
I’ve tried to use Serial1 to transmitr, I’ve also tried to use the 5V insted of the 3.3V from the Micro … It doesn’t send anything ever. Same connection works fine on Arduino UNO