l.lefebvre

Results 15 comments of l.lefebvre

Hi gcopeland, MOD-24LR board work fine with your fork. Thanks a lot !

Thank you very much for your quick response. I just updated my code and mpremote still hang. ### main.py ```python import _thread from time import sleep_ms class ThreadFlag: def __init__(self)...

If it's still an issue for you, at the pyModbusTCP server level, the only thing you can do is what you do. Create your own DataHandler class and do filtering/logging...

Hi, I have the same issue when i launch "ds1302_get_utc" without RTC clock connect to Pi. It's probably a wiring issue or a problem with the RTC chip. I will...

I check with a new Pi 3 B+ and 2 ds1302, all seem ok. I add an explicit error message instead of the default Python ValueError except in commit 1972cf8.

Hello, in Linux port numbers below 1024 cannot be used by a process running by a normal user. To fix this, you can run your script as root or open...

- See https://github.com/sourceperl/pyModbusTCP/blob/master/examples/server_schedule.py for a non-blocking server example. - Regarding your second question, if you enable no_block mode, the server is run as an independent thread. - To deal with...

Hi, > Since I never stop the server, is there an issue with multiple starts in different tests? I'm not sure I understand this correctly, but you can't start two...

Hi, For test purpose, you can use this code to replace transaction ID handling with custom handling: ```python import random import struct import time from pyModbusTCP.client import ModbusClient class CustomModbusClient(ModbusClient):...

Hi, Here you need to deal with two's complement (https://en.wikipedia.org/wiki/Two%27s_complement). You can't write directly -1 since modbus request accept only 16 bits unsigned word (0 to 65535), you need to...