-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2C LCD ... nothing on the screen.... #538
Comments
I started to dig in the code... It has been modified and a lot of lines are commented out ; more interesting is that
never really read the busy flag.... I suppose then , that time spend by executing this dummy function was enough for the HD77480 to process its instructions internally.... |
OKay , I finally make it with LCD.. it works for me know. Keeping in mind that LCD initialisation is very critical, because ate the very begining, interface must be switched to 4bit width. I added some delay , without inpact on the main loop because it is done on the beginning and only once. `
} afterward I added another delay into the following fonction :
` FSI is my trigramm , I can keep track of all my mods by a textual research withtout "HAL_Delay(1);//FSI" in the code above, my LCD don't work. it is critical for main loop because this function is called everytime a command is sent to HD44780 . hopping it will help.... regards |
Variant
TRANSPOTTER
Control type
FOC
Control mode
Voltage
Description
HI,
I'm actually trying to connect a LCD 14x2 with the well known I2C interface to generate timings.
so , YES I can see the I2C protocol working with my scope :
and YES the lines of the LCD panels are toggling.
E line behaves like a clock indeed and I can see data on D4 to D8
I can see also RW and RS lines toggling
but nothing on the screen, and Yes I did check the contrast.
is somebody already connect a LCD screen like that to the board?
regards
The text was updated successfully, but these errors were encountered: