iRX Project: Hello, World

ROBERT D. POOR
MIT MEDIA LABORATORY
December 1998
r@mit.edu

hello.c is a simple program that runs on an iRX board. Its main purpose is as a teaching tool to get familiar with the basic steps in compiling, downloading and running a program on the iRX. The entire development process is spelled out in full detail in the Getting Started project page.

Here is a link to the source file for hello.c.

Here is hello2.c, which is virtually identical to hello.c, but it uses the sleep() and watchdog timer functions of the PIC for its delay loops. This technique saves considerable power compared to programmmed delay loops used in hello.c.



[back...]
[home...]
Robert Poor