Step 4:  Running the Sample C Program

Compile load and run the program

Clear previous



compiling the code


loading the code


and starting the program

A program that uses IO


The program is now running.  This example program communicates with the PC, so to really execute it open a TclTerm window using the tools>terminal menu to communicate with the program


Now RUN the program



The Csample program will execute a number of routines, some of which require additional hardware (such as I2C or SPI devices). Some of the examples will modulate the LED on the PCB.  One of those that flashes the LED is option 5, type that in the box to the right of Enter:



And see the results

And see the results

Try some of the other options, refer to the Csample source for details.


More Details on MakeItC