Electronics > Projects, Designs, and Technical Stuff
Improved performance 5V Arduino Nano/Mega compatible
DC1MC:
--- Quote from: bingo600 on March 17, 2023, 07:37:09 pm ---I just diid a quick
--- Code: --- do
{
digitalWriteFast(PA_0, HIGH);
digitalWriteFast(PA_0, LOW);
} while(1);
--- End code ---
And grabbed a scope pict - Some ringing , prob due to the ground clip well ....
Seems like it uses 6 instructions for the "toggle + Loop"
/Bingo
--- End quote ---
Uuuuu, 12MHz and nice flanks, where are the "assembly astronauts" ::) to optimize this and reach 20MHz :).
Thanks and cheers,
DC1MC
Navigation
[0] Message Index
[*] Previous page
Go to full version