Hey i need some help with this code. this is the error it is displaying and idk what to do.
c:\Users\Admin\Documents\Arduino\Launchpad_Receiver\Launchpad_Receiver.ino: In function 'void loop()':
c:\Users\Admin\Documents\Arduino\Launchpad_Receiver\Launchpad_Receiver.ino:20:26: error: void value not ignored as it ought to be
done = radio.read (msg, 1);
Compilation error: Error: 2 UNKNOWN: exit status 1
Hey, i have been trying to upload this code to my clone arduino nano and it is not working. The error message says "Error 2 UNKNOWN: no FQBN provided". I have installed the ch340G drivers and it is still not working. CAn i please have some help! Thanks!
Please read the post at the start of any forum , entitled "How to use this Forum".
This will help with advice on how to present your code and problems.
Can you load other code to the Nano, like "Blink without delay" from the "Examples" folder?
You may need to select that the Nano has "Old Bootloader" fitted, as most clones do not have the up to date firmware.
The error about FQBN is caused by not having a board selected. Unlike the classic Arduino IDE, the Arduino IDE 2.x installation does not come with the "Arduino AVR Boards" platform, or any other boards platform pre-installed, so on first startup you will not have any board selected (https://github.com/arduino/arduino-ide/issues/56).
The fact that @lcat06 shows that they did finally select the board. You could never get to a true compilation error without a board selected because the compilation process can't even start without a board selected.
The thread is a bit confusing because the merge combined the two topics out of chronological order, but you can see from the timestamps that the topic about the FQBN error was made before the one about the "void value not ignored" error.