micropython-lcd
micropython-lcd copied to clipboard
Will it work for STM32F407 discovery board
hello, Can i use this code for STM32F407 discovery board as you have written it for Pi. And if yes, what are the settings i need to change in lcd.py file.
Thank you
If it's just a matter of using different pins you could try changing the PINS variable, for example you could subclass and override like so:
class MyHD44780(HD44780):
PINS = ['Y1','Y2','Y3','Y4','Y5','Y6'] # < Set these to the PINS on your board
Then just use the MyHD44780 class instead.
If you could post back here with your findings on the STM32F407 that'd be fantastic.
Hello, I tried by changing the pins, but it didnt worked out as expected. So i used asyncio library for asynchrous communication with LCD. Now its working.
Thanks :)