GithubHelp home page GithubHelp logo

200-gcc-compiler-optimisation-for-arduino's Introduction

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
------------------------------------------------------------------

200-gcc-compiler-optimisation-for-arduino's People

Contributors

ralphbacon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

marceluphd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.