I have big problem to write a firmware for FX2 Cypress...
The firmare is very simple but ....
I have 3 LEDs connected to port E ( 7 6 5 ) and 3 microswitches connected to
port E ( 0 1 2 ) .. I want to light on each LED pressing these microswitches
...
In assembler works only lighting on

mov OEE,#11100000b ;  setting pin 7 6 5 of port E as outputs
orl IOE,#00011000b
 anl IOE,#00000111b    ; lighting on 3 LEDs

I can't do it maunally through microswitches I don't why ...

But in C language I can't even light one LED ...
Who can help me to start with this stuff ??

Best regards

Norbert



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to