Hi,
Is it possible to use Python language instead of 'C' to program MSP430G2553 ?
I want to send a data using UART from MSP430G2553 and display that data using Python GUI .
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Is it possible to use Python language instead of 'C' to program MSP430G2553 ?
I want to send a data using UART from MSP430G2553 and display that data using Python GUI .
I'm not familiar with Python, but did you have a look at the python-msp430-tools?
Displaying data in an GUI that comes from a serial connection like UART/RS232 is independent from the language you are programming in. It has the same data-format like 1 start-bit, 8 data-bits, 1 stop-bit @ 9600 baud with no parity enabled (just an example).
Dennis
So your system consists of two parts: (1) a workstation (desktop/laptop) computer and (2) a board with MSP430 chip. The workstation can run Python and have its GUI and serial communication. It doesn't matter what the MSP430 software is written in as long as the workstation's Python code is written to interpret the UART data the same way the MSP430 code does.
The MSP430 should probably only run with C/C++. Python probably will require too much overhead for it. If you are just sending simple messages out the UART, the C program would not be hard to write. If you plan to work in industry and work with microcontrollers, you cannot avoid learning C; may as well learn it now.
I know there is a Python tool for MSP430 mentioned by Dennis, but if you were to work in industry and insist you will only write code in Python and the target is a tiny MCU like the 430, you will probably be laughed at and then your boss will tell you to do it in C anyway. Python is great for larger processors with lots of speed and memory - but the overhead is laughably too high for tiny processors.
**Attention** This is a public forum