OK, thank you. I'll try this.
I have serious doubts. See @van_der_decken's comment.
You should not have to install a board package if it was a 328P.
Well, as a result I also have weird symbols, but when changing bauds they are a bit different.
Well yes, even if it is a clock problem, 99.99% of the bauds will be wrong.
What board have you selected in the IDE?
I selected Arduino nano board. it is like this:
And there's your problem.
From your linked page:
You need to Install Arduino Hardware Support Package for LGT-NANO from lesson 1 in OSOYOO website before using.
That processor is not an ATmega328P. It is an LGT8F328P, and apparently requires the installation of their 3rd party core in order to function.
Hi,
Solder the pins to the PCB.
Tom..
Oh, I understood. Okay.. so, if I have to install special drivers for it or what?
Read the instructions on the page you linked to.
You have to install OSOYOO's core package.
And then you have to select OSOYOO LGT-Nano as the board.
It's all there on the page in black and white.
Oh, and it makes reference to the clock frequency being 32MHz rather than the 16MHz of a normal Nano. Even if the rest of the processor was 100% compatible, that alone would mess up the serial comms; programming it as a standard Nano, the code would expect a 16MHz clock. If the processor is running twice as fast as the code thinks it is, doing Serial.begin(9600);
would really being saying Serial.begin(19200);
.
Okay, thank you so much.
It worked! Thanks everyone!! You are the best!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.