| ??? 05/15/03 14:20 Read: times |
#45512 - RE: can not write to port(s) (89s8252) Responding to: ???'s previous message |
apart from the missing ';' and the variable needind to be defined directly after main()
(cut and pasted diectly from kiel), you have this: <p> #include "AT898252.H" int main() { int x,i; while(1) { for(x=0;x<0xFF;++x){ for(i=0;i<0xFFFF;++i){ P3 = x; } } }; return(0); } </p> and THIS CODE COMPLIES, please notice the 'while(1)' in the first message. I would like someone, if they have a commment, to please give some technical proof why there suggestion would cause some significant change to this problem of output P3 on the chip not working correctly. Thanks, Eric |



