From: Manuel B. <web...@ma...> - 2002-08-24 19:07:19
|
Am Don, 2002-08-22 um 19.28 schrieb Manuel Borchers: > Am Don, 2002-08-22 um 18.48 schrieb Manuel Borchers: > > -- snip -- > > #include <at89S8252.h> > > > > void main(void) { > > > > if (P1_6==0) P1_6 = 1; else P1_6 = 0; > > > > } > > -- /snip -- > > I forgot to post the "while (1) { }" around the if()... Problem solved... I forgot to push the EA pin to Vcc, so the controller tried to read from the not connected external ROM... Cheers, Manuel -- web...@ma... http://www.matronix.de - http://www.e-online.de/public/borchers 9:08pm up 9:32, 5 users, load average: 0.54, 0.19, 0.12 |