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

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -