Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.
Allemaal bedankt voor de leuke reactiesHet is echt een heel gave ervaring als alles werkt zoals je het bedacht had. En daar kan ik best wel een beetje enthousiast van worden ;-)
Volgende uitdaging is de Arduino Uno ombouwen naar een 20MHz versie en dan de boel weer passend maken met de software. Het Arduino platform ondersteunt geen Arduino Uno op 20MHz. En dat is weer een mooie uitdaging![]()
Dat is nou net het minst grote probleemStaat nieuwe bootloader + board definitie voor de Arduino Software.
#if F_CPU >= 20000000L
// for the 20 MHz clock on rare Arduino boards
// for a one-microsecond delay, simply wait 2 cycle and return. The overhead
// of the function call yields a delay of exactly a one microsecond.
__asm__ __volatile__ (
"nop" "\n\t"
"nop"); //just waiting 2 cycle
if (--us == 0)
return;
// the following loop takes a 1/5 of a microsecond (4 cycles)
// per iteration, so execute it five times for each microsecond of
// delay requested.
us = (us<<2) + us; // x5 us
// account for the time taken in the preceeding commands.
us -= 2;