Re: [linux-usb-devel] question FX2

2003-07-20 Thread Major A
This is not a USB problem, and not linux in any case, but anyway: > In assembler works only lighting on > > mov OEE,#1110b ; setting pin 7 6 5 of port E as outputs > orl IOE,#00011000b > anl IOE,#0111b; lighting on 3 LEDs Your code will set IOE.7 to IOE.5 to 0. This will provide a

[linux-usb-devel] question FX2

2003-07-20 Thread mama
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,#1