sdm_modbus icon indicating copy to clipboard operation
sdm_modbus copied to clipboard

RASPBERRY PI 4 using Python last version don't work

Open JorgeGoncalves1 opened this issue 2 years ago • 14 comments

I did a fresh installation of my Raspberry pi 4, with Debian. I wrote the program in Python and I can't get a connection.

ONLY VERSION 0.4.3 WORK. CAN YOU SOLVE ?

i'm using a USB TO RS485 converter.

import sdm_modbus device = sdm_modbus.SDM230(device="/dev/serial0", baud=9600) print(device)

if device.connected(): print("Working") else: print("NOT Working")

Regards George

JorgeGoncalves1 avatar May 17 '22 18:05 JorgeGoncalves1