pour accélérer la réactivité de votre simulateur dynamique !
gain de vitesse x10 sur l'instruction digitalWrite
http://www.instructables.com/id/Arduino-is-…-how-to-fix-it/
To turn a port high, use this command:
PORT{letter} |= _BV(P{letter}{number});
To turn a port low, use this command:
PORT{letter} &= ~_BV(P{letter}{number});
Replace {letter} and {number} with the corresponding pin letter and number. For example, for pin B5 with the LED, turning it high and then low would be:
PORTB |= _BV(PB5);
PORTB &= ~_BV(PB5);