Art
- 21st January 2010, 23:06
Hi Guys,
Is it possible to set the first four bits on a port in one line without
writing to the rest of the port? I was wondering how the LCD 4 bit bus mode works.
I could send %1111 to porta for example, but then porta bits 4-7 would be
written with zeros.
I'm looking for something better than setting the bits individually.
Cheers, Art.
Is it possible to set the first four bits on a port in one line without
writing to the rest of the port? I was wondering how the LCD 4 bit bus mode works.
I could send %1111 to porta for example, but then porta bits 4-7 would be
written with zeros.
I'm looking for something better than setting the bits individually.
Cheers, Art.