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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -