lcd160cr display error

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
zjohn
Posts: 1
Joined: Mon Jan 01, 2018 8:28 pm

lcd160cr display error

Post by zjohn » Mon Jan 01, 2018 8:30 pm

I am getting an error when i try to use the lcd160cr with my pyboard:


Traceback (most recent call last):
File "main.py", line 3, in <module>
File "lcd160cr.py", line 76, in __init__
File "lcd160cr.py", line 210, in set_orient
File "lcd160cr.py", line 95, in _fcmd2
File "lcd160cr.py", line 81, in _send
OSError: [Errno 19] ENODEV
MicroPython v1.9.2 on 2017-08-23; PYBv1.1 with STM32F405RG
Type "help()" for more information.
can anyone help me?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: lcd160cr display error

Post by pythoncoder » Tue Jan 02, 2018 1:30 pm

The device isn't being detected so there are two main possibilities. Either your hardware connections are wrong or your code is incorrect. I suggest you check that the physical connection matches your code. Failing that, post the code here so we can take a look at how you're driving it.
Peter Hinch
Index to my micropython libraries.

Post Reply