Python + PuTTY - Multiple commands by PuTTY terminal

Multi tool use
Multi tool use


Python + PuTTY - Multiple commands by PuTTY terminal



hey I've got a program compiled, running on Nucleo managed by PuTTY terminal. To comunicate with it - program using simple commands which functionality I cannot look at. How can I run multiple commands together at the same time without typing it in console over and over?



how can I send this commands using Python serial?



What I wish to achive is by Python script:



using the command below does not trigger the effect,
that the same command in putty does.


text = "use 3 1".encode()
ser.write(text)



actualy seems like Nucleo program does not understend python script at all but somehow the same command typed in PuTTY terminal works just great.
Same port, same baudrate









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

dsvxEh5 5xy t,sy4hB
Zv532m0xggeIWYVq ekl 8bS,mI49 fSpscc6 ItyZFH zcsd,grgf7

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications