Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.4 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.4 KB

Build Status

pynextion

A Python library for Nextion smart display management

Source: http://wiki.iteadstudio.com/Nextion_Instruction_Set

Wiring

To use a Nextion intelligent display you need:

Please follow the following wiring:

  • Red wire 5V
  • Black wire GND
  • Yellow wire (between Nextion RX and USB TTL TX or SBC TX)
  • Blue wire (between Nextion TX and USB TTL RX or SBC RX)

!!! warning

Do it at your own *risk*!

Bad wiring can result in damaging the Nextion display, the USB converter or maybe more.

If you don't know what you are doing, it's maybe safer not to try!

Running

unit tests

$ pytest -s tests

examples

$ pytest -s examples/draw.py

Default port is /dev/ttyUSB0 and is set in examples/config.py.

Other Python Nextion libraries