AP Final Project Term 2
Instructions
- Plug in tie, make sure lights are flashing and on.
- Unplug all usb devices if possible.
- Wait a few seconds, the neopixels should turn on and become bright red
- Type into terminal: ls /dev/tty*
- You should see a list of serial ports. Find the one which starts with /dev/cu.usbmodem.
If there's more than one, you are probably using more than one usb port. You can either try one port then the other or unplug any other device. - Go into Sorts, open the Processing files.
- Under Driver on the 8th line of code there should be "myPort = new Serial(this, "/dev/cu.usbmodem1421", 9600);"
- Replace /dev/cu.usbmodem1421 with the port on your computer.
This is necessary because we can't predict which USB port will be used to transmit data between the Arduino and the computer.
Plan C is a proof of concept for the sorting, in case the tie malfunctioned.