davorin
Advanced Member level 3

- Joined
- Jun 7, 2003
- Messages
- 901
- Helped
- 11
- Reputation
- 22
- Reaction score
- 4
- Trophy points
- 1,298
- Location
- Switzerland
- Activity points
- 7,349
read port c sdcc 8051
Sorry for maybe stupid question but never did any '51/52 programming before in C (o;
I see that ports can be directly read and writtn to just with a single statement like "P2_2 = 0" or "value = P0"...
So I do not need to setup input/output before accessing the pins..right?
Sorry for maybe stupid question but never did any '51/52 programming before in C (o;
I see that ports can be directly read and writtn to just with a single statement like "P2_2 = 0" or "value = P0"...
So I do not need to setup input/output before accessing the pins..right?