Is it possible to select the 4 most or 4 least significant bits of an IO port of an AVR device with codevision C ?
for example, i want to drive my lcd device with the 4 MSB's of PORT C (C.3 -> C.7)
soo is there something like PORTC
Is it possible to select the 4 most or 4 least significant bits of an IO port of an AVR device with codevision C ?
for example, i want to drive my lcd device with the 4 MSB's of PORT C (C.3 -> C.7)
soo is there something like PORTC
Good advice in general, but the combined statement should work fine. The lack of sequence point between reading and writing PORTC in your example is not a problem.
-- Thad
Thanks guys, works perfect!
Yannick
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.