As I say, the elements are probably similar on the PIC-side.Ī couple of wires for Tx/Rx to produce a serial comms link.įor an 'Arduino end' I'd used something like SoftSerial, which allows any two pins to be constructed as a serial connection. The upload simply squirts the compiled binary down a serial/USB line to the controller. Compilation is part of the IDE but will be cross-compiling from Windows and/or Linux (Intel-based) to that required for the microcontroller. The editor is a bit on the basic side but it does a job. I don't do PIC but looking at the URL I posted earlier its sounds very much like the Arduino work flow.įor Arduino there is an IDE that can be downloaded in which you can load, create, edit, compile and upload sketches (in Arduino speak, but pieces of C++ when it comes down to it). Perhaps others can shed light in this area. To access the GPIO then you might consider wiringPI which has a Python interface another post was bemoaning the lack of documentation in this area. Any scripts you write can be transferred to the Pi and might be expected to execute without change. To come up to speed in Python you might consider installing the interpreter on a Windows system e.g. For Python you will need to install the Python interpreter.
0 Comments
Leave a Reply. |