Sample code
From GumstixDocsWiki
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Customers using Gumstix OpenEmbedded should go to gumstix.net and the related user wiki
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
For customers using buildroot:
Here are some pieces of sample code to help you get your project started.
Contents |
C
- Hello World - The classic first program
- I2C
- LCD
- PWM
- Serial
- SPI
- Serial Daemon - Forward data between the serial port and a socket and/or a virtual terminal.
- Quadrature Decoder
- LED controller - Sample program for output to the STUART 20 pin solder pads
- GPIO - Sample program for manulipating the GPIO bits
- Samsung LCD - Test the 18bbp color of the Samsung LCD
C (for the Robostix)
C++
- Hello World - The C++ variation of the classic Hello World program
- Computer Vision - Some resources and links for vision processing on the gumstix
Perl
PHP
- Hello World - The PHP variation of the classic Hello World program.
Python
- Hello World - The Python variation of the classic Hello World program.
- SQLite Example - An example Python script using SQLite.
Shell Sripting
Kernel Drivers
- Kernel hello world - Kernel version of Hello World
- Kernel programming - A driver which monitors a gpio line.
- GPIO event - A driver for monitoring multiple gpio lines.
- usleep drv - A driver for delaying small amounts of time.

