I've written a custom HD44780 driver for my alarm clock, which works fine using timing delays. However, I'm now trying to get it to work with the 'busy flag' as well. If I uncomment the IsBusy() call in the source code (see attachments) it keeps looping since it reads only 1's coming from the LCD.
Anyone have an idea what the problem could be?
Thanks in advance.