#200

Опубликовано: 24 Октябрь 2024
на канале: Ralph S Bacon
15,850
856

Sometimes it's best to directly control the digital pins on the Arduino for speed and simultaneous switching - something than cannot be done using DigitalWrite.
PCB Prototype the Easy Way $5 for 10pcs https://www.pcbway.com/
Plus special SMT assembly offer - see the video!

All this info plus the sketch in my GitHub:
https://github.com/RalphBacon/200-GCC...

The same can be said for ensuring your code runs as fast as it can, with no overheads that would be introduced when your code is optimised for size.

Here I show you a couple of techniques that are easy to implement directly into your sketch.

The complete list of GCC compiler optimisations - use with great care!
https://gcc.gnu.org/onlinedocs/gcc/Op...

More on Arduino PORT REGISTERS
https://www.arduino.cc/en/Reference/P...
http://www.bristolwatch.com/k150/port...

ARDUINO MEGA 2560 PRO (from RobotDyn) - like an UNO with LOTS of pins + more
From China $8.99, From USA $12.59, From UK $13.99
If you order from your local warehouse then shipping is normally free (and quick)
http://bit.ly/Mega2560Pro

THE ARDUINO PRO IDE V0.1.2
-- Built on Eclipse Theia --
https://github.com/arduino/arduino-pr...

Windows version
https://downloads.arduino.cc/arduino-...

Mac OSX version
https://downloads.arduino.cc/arduino-...

Linux64 version
https://downloads.arduino.cc/arduino-...

List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphB...

All this info plus the sketch in my GitHub:
https://github.com/RalphBacon/200-GCC...

If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey

My channel, GitHub and blog are here:
\------------------------------------------------------------------
   / ralphbacon  
https://ralphbacon.blog
https://github.com/RalphBacon
\------------------------------------------------------------------