Hello i want to know it works
LCDPORT = ((c >> 4) & 0x0f) | EN | RS;
c is 8bit
RS and EN is a single bit
please anyone help me with some example thanks
Hello i want to know it works
LCDPORT = ((c >> 4) & 0x0f) | EN | RS;
c is 8bit
RS and EN is a single bit
please anyone help me with some example thanks
Read up on bitwise operations. I believe we have a tutorial or FAQ answer concerning that on cprogramming.com
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
can i get that link ?
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler