port 'C' is for LCD functionality... but by default it's not being
used... (unless you have an LCD) you'd have to issue something like:
(*(volatile unsigned char *))0xfffff413)=0xff; /* set all pins to no
(*(volatile unsigned char *))0xfffff400)=0xff; /* set all pins to output
and -ta-da you're program should work!
good luck ;)
there is a chasm :: of carbon and silicon :: that software can't bridge
(e) email@example.com :: firstname.lastname@example.org
email@example.com :: firstname.lastname@example.org
yesterday it worked :: today it is not working :: Windows(tm) is like that
all your base are belong to us
On Thu, 19 Apr 2001, Shaun H wrote:
a> Hi Evan,
l> Thanks for your reply :-)
y> >What do you have attached to port C?
o> connected to pin 30 on the ucSIMM is a 1K resistor with LED.
r> I assumed that, on boot up, pins 23-30 default to become General
b> I/O Port C. Then the bit0 on Port C should switch on & off?
s> I know that these pins serve as the LCD Controller also, which is why I
e> wondered if there might be a need for some other C command??
This message resent by the email@example.com list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:43 EST