/200-GCC-Compiler-Optimisation-for-Arduino

When you need the speed, here are some options

Primary LanguageC++

GCC Compiler Optimisation for Arduino

PCB Prototype the Easy Way $5 for 10pcs https://www.pcbway.com/

See the YouTube video to accompany this GitHub entry:

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.

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/Optimize-Options.html

More on Arduino PORT REGISTERS
https://www.arduino.cc/en/Reference/PortManipulation http://www.bristolwatch.com/k150/port1.htm

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-pro-ide/releases/

Windows version
https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_0.1.2_Windows_64bit.zip

Mac OSX version
https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_0.1.2_macOS_64bit.dmg

Linux64 version
https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_0.1.2_Linux_64bit.zip

List of all my videos

(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon

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:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
------------------------------------------------------------------