Optimising Arduino Code using PIN registers

Alternative to using pinmode, digitalRead and digitalWrite commands to manipulate arduino pins.

Feb 5, 2022

3814 views

0 respects

Devices & Components

1

Arduino Nano

1

7 Segment LED Display, InfoVue

1

Resistor 220 ohm

1

LilyPad LED Blue (5pcs)

Software & Tools

Arduino IDE

Project description

Code

Controlling 7 segment display with pinmode, digitalWrite

arduino

Controlling 7 segment display with pinmode, digitalWrite

arduino

Controlling 7 segment display with PIN registers

arduino

The code is not only optimised and much shorter. It is also much faster in terms of sending appropriate signals to Arduino pins.

Comments

Only logged in users can leave comments

Dziubym

0 Followers

0 Projects

0