Hi all,

I need help on this problem.

I have one message packet in form of string s = '0xFE, 0x01, 0x01, 0x22,
0xFE, 0x02'. I have to send this data to MSP430 microcontroller, but it is
not taking data if it is string. If I am passing this as hardcoded value s1
= 0xFE, 0x01, 0x01, 0x22, 0xFE, 0x02 then board is responding. I want to
convert s as s1 using python.

Please help me out to convert string in normal format for microcontroller
to respond.

Thanks in advance.

Regards,
Shweta
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to