geany

Using Geany as multi-language code editor (IDE) for your Arduino project

When working on an Arduino project, you often need to create more than just one file. This could be combination of C and Python. You have the choice of switching between Python IDE like IDLE or PyCharm and a typical C CLI-based editor vim, and Arduino Genuino IDE to edit…

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…

Next Page »