RetroBSD Device!

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

 

Advertisements

About atomsoft

Starting a small company. Trying to build it from ground up. Only 2 employees so far. Nothing serious yet but soon!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: