| ??? 05/15/03 14:03 Read: times |
#45507 - RE: can not write to port(s) (89s8252) Responding to: ???'s previous message |
"This is a '51 not a stupid PC, read your compiler manual"
What Erik really meant to say was: Do this instead: void main(void) { ... while(1); } The while(1); prevents the CPU executing whatever lies in memory after your code, and it doesn't really make sense to return a value from an 8051 program. |



