[simpits-tech] Offtopic - Simple binary logging

David C. Allen allendc at qwest.net
Sun Jan 4 17:50:24 PST 2009


Check this out

http://cgi.ebay.com/PIC-18F67J60-Web-Server-Demo-Board_W0QQitemZ400006948266QQihZ027QQcategoryZ36327QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

David
www.737FlightSim.com

At 07:34 PM 1/4/2009 -0600, you wrote:
>Hi guys - this is sort of off topic (although some may find related benefit):
>
>I would like to read the state of 4 switches and for 3 of them log 
>how many seconds of every minute they are on, and for the other log 
>the number of times it is 'pressed' in a given minute. I'm thinking 
>it should be straight forward to write a C++ program to read the 
>state of the 4 joystick buttons, however, this is proving to be a 
>bit cumbersome.
>
>Does anyone have a basic joystick button testing program in their 
>toolkit they'd mind sharing the source with me?
>
>Thanks,
>Alex
>
>(PS - I'm trying to build a utility monitor. The counting switch is 
>essentially the number of revolutions of my power meter, and the 
>other 3 are status indicators of the heating elements in my furnace 
>and hot water tank.)
>_______________________________________________
>Simpits-tech mailing list
>Simpits-tech at simpits.org
>http://www.simpits.org/mailman/listinfo/simpits-tech
>To unsubscribe, please see the instructions at the bottom of the 
>above page.  Thanks!
>
>
>__________ Information from ESET NOD32 Antivirus, version of virus 
>signature database 3735 (20090104) __________
>
>The message was checked by ESET NOD32 Antivirus.
>
>http://www.eset.com



More information about the Simpits-tech mailing list