shashankshanky
Newbie level 3
- Joined
- Apr 14, 2013
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,312
hi i am currently doing a project on atmega16.
i want to send the values from the PC that determines whether the pin should be set or reset.
i.e if i want all port a pins to be set then i should send the value 255, if i want only the PA0 to PA2 to be set, i should send the value 7, however since only unsigned char is poss. how can i achieve this
i want to send the values from the PC that determines whether the pin should be set or reset.
i.e if i want all port a pins to be set then i should send the value 255, if i want only the PA0 to PA2 to be set, i should send the value 7, however since only unsigned char is poss. how can i achieve this