You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
nice answer ... upvote for the effortjsotola– jsotola2023年03月04日 22:01:57 +00:00Commented Mar 4, 2023 at 22:01
-
Thank you very much for the detailed answer and testing. One further question out of curiosity: Does this mean that if I go for an Arduino Zero, it will be (48 MHz / 16 MHz) 3x faster and for a Due (84 MHz / 16 MHz) 5x faster?P. Egli– P. Egli2023年03月05日 15:14:39 +00:00Commented Mar 5, 2023 at 15:14
-
2@P.Egli: Re: "if I go for an Arduino Zero [...]": No. These Arduinos use an ARM architecture, which is completely different from the AVR architecture of the Uno. The code above may not be trivially ported to them. AVR is simple enough that you can count the CPU cycles simply by looking at an assembly listing. I doubt the ARM cores of the Zero and the Due are at this level of simplicity.Edgar Bonet– Edgar Bonet2023年03月05日 16:22:25 +00:00Commented Mar 5, 2023 at 16:22