"Humphrey" <humphreybu...@vodamail.co.za> wrote

I am new to python and i want to ask if python can be used in electronics like for programming programmable chips like the PIC16F series.

It depends on your chip development environment.
If the programmer connects to a PC (via serial or USB for example) then usually there will be standard Windows libraries that expose an API onto the chip. In that case you can use the ctypes module in Python to communicate with the programmer.


If the programmer is standalone it will be much harder, maybe impossible. And if it is a bespoke platform using a standard OS(eg Linux) then its likely possible to get the Python source to build on the platform and use it, but how much use it would be will dpened on how the programmer makes itself available in an API.

It will take a fair bit of in depth research to find out exactly what will work in your case.

HTH,

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

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

Reply via email to