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

How to keep persistent SSH session using TMUX

Ever wonder how to keep a program installer or OS updater running on your Raspberry Pi, without staring at the black screen waiting for it to finish. Your precious time should be use for something worthwhile, like playing game or doing something else on your laptop and being able to…

Alternative Linux Desktop Environment: OpenBox

We all tried GNOME, KDE, LXDE, XFCE, and the recent generation of DEs such as Cinnamon and Unity. They are all bloated and overrated. Now we want to switch to a light-weight, clean, fast, and highly customisable that you can build from scratch: OpenBox. OpenBox is a configurable menu system…

Next Page »