bsd3

Just created a device driver (i think)… There is now a “led0” in “dev/” and also a test application in “bin/” its called “ledtest”

Running ledtest will simply blink the 3rd led on/off about 7 times with a 1sec rate. The options/commands for led0 are:

LED0ON
LED0OFF
LED0BLINK

All of them use a structure which is basically (LED#, DELAY,COUNT) as you may have guess the DELAY and COUNT do not matter for the ON/OFF options above and is only used for BLINK.

You can download the FULL PACKAGE

 

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *