Optimising Arduino Code using PIN registers

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

Feb 5, 2022

1974 views

0 respects

Components and supplies

1

Resistor 220 ohm

1

Arduino Nano R3

1

LilyPad LED Blue (5pcs)

1

7 Segment LED Display, InfoVue

Project description

Code

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.

Controlling 7 segment display with pinmode, digitalWrite

arduino

Comments

Only logged in users can leave comments

mdraber

0 Followers

0 Projects

Table of contents

Intro

0

0