python - Send bits using pyserial -


i writing program send dali commands via serial port. so, @ case, got various problems. first of all, dali commands messages of 19 bits questions (1 start bit, 8 adress bits, 8 command bits , 2 stop bits) , 11 bits answers(1 start bit, 8 response bits, , 2 stop bits). problem fact pyserial can send bytes via serial port, not bits, and, if convert bits byte, need 3 bytes question , 2 , answer bits unused... how it's supposed that. there way send bits 1 one via serial port using pyserial?


Comments

Popular posts from this blog

The SDK directory does not exist (ubuntu 16.04) (react native) -

python - How to clone or copy a list? -

python - How to use Celery in Tornado with redis as broker and backend? -