In mazidi and mazidi pg 252(2006 edition) for the case of checking the buzy bit during initialization of LCD they are sending a low to high pulse to enable pin instead of a high to low as done in previous programs.Can anybody please explain why this special syntax for checking buzy bit?or is it a printing mistake?
I couldn't understand perfectly till now by checking the busy flag, As per my view LCD is bing used to be written on that and two process are there to solve the purpose:
1) Delay Process
2) By checking busy flag.
I am using the Delay process and facing no problem. You are saying it is required to check the busy flag continuously to check wheather LCD is working properly or not, i couldn't understand this thing.
Hey guys thanks for the quick responses.
There are two ways to initialize an LCD :
1)Introduce delay after every command call or data call
2) Use buzy bit flag D7 and check whether LCD is buzy or not and then ensuring it is free do any writing.
My problem refers to the use of "enable" in context of a buzy bit .Isn't enable a high to low pulse to be sent in order to latch the data at pins into LCD ?Mazidi does this the other way round, that is low to high pulse is sent in case of using buzy bit for initialization.
ok guys lets get it clear.I agree one can use software delay.
Set that aside for the time being.
My question was - to latch data into lcd, should one send high to low to enable pin or low to high?
PS: It is generally high to low right? In case of buzy bit why low to high?