cssinc
08-28-00, 06:16 PM
I have the NMIY-0020 board and am trying to turn on and off the 8 data pins for port A using the following code:<p>pokeb (REG_BASE+DDRA, 0xFF);<br>while (1)<br>{<br> pokeb (REG_BASE+PORTA, 0x00);<br> delay (1000);<br> pokeb (REG_BASE+PORTA, 0xFF);<br> delay (1000);<br>}<p>PA4-6 do turn on and off, but the other pins do not. Anything else I need to do to get access to the other 5 channels?<p>----------<br>Thanks<br>Oliver