slide

AVR-GCC programming – Simple Interrupt for blinking LED on Arduino Uno using pure C

Interrupt is powerfull tool because you can harnest the hardware power of Arduino, for instance to blink multiple LEDs simultaneously. Supposed you want to blink a LED using interrupt and not a timer, the following example will toggle PIN13 (PB5) which is liknked to the in-built LED using Timer.  …

Low level C programming for Arduino Uno without Arduino Genuino IDE

The beauty of C language is that it can go deeper at the hardware level, so you can optimise your hardware use and do more advance stuff with it. The easiest way to learn low level programming on the Arduino is to switch off your Arduino IDE and jump straight…

Graphics and game programming using C++ and SDL

Prepare the your environment. Install g++ Install sdl Install vim and configure .vimrc for C++ projects Run your first hello world program Display Window Graphics basics Sprite and animation basics Keyboard inputs Mouse inputs Summary

Back to basic: Code “Hello world” in C with Raspberry Pi 3

So you all got your new and shiny Raspberry Pi 3, and you can’t figure out how to program it. Before you dwell into endless digital jungle, here is the most fundamental way to write your first piece of software, to take you back to a nostalgic era when software…