Page 1 of 1

Expanding powerswitch

Posted: Thu Nov 26, 2009 8:00 pm
by martinus.org
Hi all,

I have finally succeeded in getting powerswitch to work for me. Now I am able to control outputs on ATmega8 via PC and get their status.

My question is, would it be possible to get status of some inputs as well?
I have DIP switches connected to PORT C (PC0 - PC5). I hope there is an easy way to do this.

These are my files I use:
http://leteckaposta.cz/312508205
the link leads to 3 files:
main.c - my code for AVR
powerSwitch.c - standard powerswitch application
AVR.pdf - schematics.

Re: Expanding powerswitch

Posted: Sat Nov 28, 2009 8:12 pm
by martinus.org
OK, I have finally succeeded in reading the inputs as well, i is not very difficult, once I started to understand how V-USB works :-)

Re: Expanding powerswitch

Posted: Tue Jan 26, 2010 11:16 am
by asafparis
The link to the files isn't working. ¿Could you post them again?

Thanks