Electronics > Projects, Designs, and Technical Stuff

Improved performance 5V Arduino Nano/Mega compatible

<< < (23/23)

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

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod