codevison AVR port question

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

Reply to
Yannick
Loading thread data ...

Reply to
Rich Webb

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
Reply to
Thad Smith

Thanks guys, works perfect!

Yannick

Reply to
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.