Install Notes: Anjuta 2.2.1 on Ubuntu AMD64

September 27th, 2007

Anjuta is a nice programming IDE (Integrated Development Environment) for Gnome. I use it for C and GTK+ programming. Today I installed version 2.2.1 on my Ubuntu Feisty Fawn distro running AMD64. This isn't an extensive installation guide, but instead just a couple of notes on possible hang ups.
Read the rest of this entry »


Color and Font Selection Dialogs in C/GTK+ with libglade

March 10th, 2006

In this example code, I show how to use the GtkFontSelectionDialog and the GtkColorSelectionDialog using C/GTK+ and libglade. Both dialogs as well as the main window are in the gui.glade file created by Glade.

Read the rest of this entry »


Simple Dialog Boxes with C/GTK+ and libglade

March 9th, 2006

This is a simple Linux application using GTK+ and libglade to demonstrate some very simple dialog boxes. The application's interface is created in Glade and accessed using libglade, however, the dialog boxes are implemented entirely in GTK+ code since they're so easy to implement that way. These dialog boxes are from the GtkMessageDialog widget, which is a derivative of the GtkDialog widget.

Read the rest of this entry »


Tutorial: Simple Gnome Application Using libglade and C/GTK+

March 2nd, 2006

Gnome Application 3

This tutorial is intended for those people interested in getting started developing Gnome applications using GTK+. Specifically, it uses the Glade Interface Designer to build a the user interface and C/GTK+ to write the code for a Gnome application. The application will simply be a window with a typical toolbar and status bar. This application will be used in later tutorials to demonstrate various other aspects of Gnome programming. The complete project can be downloaded here: gnome3-0.1.tar.gz

Read the rest of this entry »


Testing C Interrupts using Breakpoints in GPSIM

April 26th, 2005

Well, well, well, here we are again. I will be continuing with my new found appreciation of Small Device C Compiler (SDCC) and showing you how to handle interrupts using C-- specifically, the TMR0 interrupt. I will also show you how to simulate this using gpsim, thus learning how to set breakpoints in your code and use the stopwatch feature in gpsim. What's really great, is if you are new to PIC programming and are having a difficulty understanding the concept of the Timer module, interrupts, and prescaler values and what they mean, using GPSIM gives you a realistic visual understanding without having to build a circuit. Pretty handy dandy.
Read the rest of this entry »


Programming PIC’s in Linux using C with SDCC

April 25th, 2005

In my last article, Programming PIC Microcontrollers in Linux, I talked about using using gputils and gpsim to assemble and simulate a basic PIC program. After writing this article, I recieved an email from Martyn Welch regarding the article he recently wrote: Installing and using SDCC on Linux. SDCCs a free C compiler for several small devices, including the PIC microcontroller.
Read the rest of this entry »