This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:knittingmachine:pythonstart.html [2010/11/01 19:07] ladyada created |
tutorials:knittingmachine:pythonstart.html [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | In this section we will download and install the software that emulates a disk drive to the knitting machine. You can run this software on any kind of computer, mac/win/linux | ||
+ | |||
====== Python code ====== | ====== Python code ====== | ||
Now that you have the cable running, its time to download the software. Visit the Adafruit [[http://github.com/adafruit/knitting_machine|github]] repository and click on **Download** to download the source code. | Now that you have the cable running, its time to download the software. Visit the Adafruit [[http://github.com/adafruit/knitting_machine|github]] repository and click on **Download** to download the source code. | ||
Line 8: | Line 10: | ||
{{ :tutorials:knittingmachine:brotherfolder.gif |}} | {{ :tutorials:knittingmachine:brotherfolder.gif |}} | ||
- | You will need Python installed to run the code. To see if you have Python installed, open up a command line and type in **python**. If you're running Windows you probably don't have it, so download it from [[http://www.python.org/download/|the official Python site]] | + | You will need Python installed to run the code. To see if you have Python installed, open up a command line and type in **python**. If you're running Windows you probably don't have it, so download it from [[http://www.python.org/download/|the official Python site]]. You'll also need [[http://sourceforge.net/projects/pyserial/|PySerial (serial interface for python) from http://sourceforge.net/projects/pyserial/]] |
Open up a command line (windows) or Terminal (mac) or xterm (linux) and **cd** to the **brother** directory and then type in **ls** (or **dir** if **ls** doesnt work) to list all the files | Open up a command line (windows) or Terminal (mac) or xterm (linux) and **cd** to the **brother** directory and then type in **ls** (or **dir** if **ls** doesnt work) to list all the files |