Search found 118 matches

by nikhiledutech
Mon Jan 01, 2018 10:35 am
Forum: Other Boards
Topic: STM32F407Disc : Write data on LCD
Replies: 13
Views: 11367

Re: STM32F407Disc : Write data on LCD

Okay. i get a FALSE value. import uasyncio as asyncio >>> dir (asyncio) ['inspect', 'asyncio', '__name__', '__file__'] Whenever i followed this link https://github.com/peterhinch/micropython-async/blob/master/TUTORIAL.md to install uasyncio . But in this command micropython -m upip install -p ~/syn ...
by nikhiledutech
Mon Jan 01, 2018 8:53 am
Forum: Other Boards
Topic: STM32F407Disc : Write data on LCD
Replies: 13
Views: 11367

Re: STM32F407Disc : Write data on LCD

Okay, i read ReadMe file and downloaded the uasyncio (asynchronous lib.) .Now i am facing a new problem. As shown in the alcd test example, i have imported all the modules given below. import uasyncio as asyncio import utime as time from alcd import LCD, PINLIST Now, whenever i write next instructio...
by nikhiledutech
Mon Jan 01, 2018 6:45 am
Forum: Other Boards
Topic: STM32F407Disc : Write data on LCD
Replies: 13
Views: 11367

Re: STM32F407Disc : Write data on LCD

Okay. While using your asynchronous mode code, their is an import error at time of importing uasyncio module i.e "" import uasyncio as asyncio ""
I have downloaded your project, and searched for the module "uasyncio" its not appearing. So how to get this module or any other alternative ?

Thanks
by nikhiledutech
Mon Jan 01, 2018 4:36 am
Forum: General Discussion and Questions
Topic: Basic LCD driver class (HD44780)
Replies: 4
Views: 9293

Re: Basic LCD driver class (HD44780)

When i powered on the LCD it shows black square are displayed on the LCD. After i initialize the LCD, the black boxes get disappeared.
by nikhiledutech
Fri Dec 29, 2017 10:38 am
Forum: Other Boards
Topic: STM32F407Disc : Write data on LCD
Replies: 13
Views: 11367

STM32F407Disc : Write data on LCD

Hello, So i am currently interfacing STM32f4 with LCD(16*2) display. So have already tried few code available on github but its not working. So i have written few functions to write character on LCD display. But problem lies in the fact that output is not getting displayed on LCD. below i have given...
by nikhiledutech
Fri Dec 29, 2017 7:17 am
Forum: General Discussion and Questions
Topic: Basic LCD driver class (HD44780)
Replies: 4
Views: 9293

Re: Basic LCD driver class (HD44780)

Hey, I am using STM32F407disc board to interface with LCD. I have initalised the rs,en,rw d0-d7 pins correctly still nothing get written on LCD. I have given code below. CODE: from pyb import Pin, delay, millis from pyb_gpio_lcd import GpioLcd #PIN configuration rs = pyb.Pin('PB1',Pin.OUT_PP,Pin.PUL...
by nikhiledutech
Fri Dec 29, 2017 7:03 am
Forum: Other Boards
Topic: problem using UART.write('x')
Replies: 2
Views: 2372

Re: problem using UART.write('x')

Yes, i was able to see garbage value. Now i have used TTL logic and its working fine. Thanks for help :)
by nikhiledutech
Wed Dec 27, 2017 9:36 am
Forum: Other Boards
Topic: problem using UART.write('x')
Replies: 2
Views: 2372

problem using UART.write('x')

Hey, Currently i am working on STM32F407discovery board. So i am programming USART6 ( tx pin PC6 and rx pin pc7) for asynchronous communication. So at present i am able to read values with the help of UART.read() but UNABLE to use UART.write() function. Below is my code , kindly go through it and he...