##Hardware
- RaspberryPi Zero
- 16GB or larger Class 10 SanDisk microSD card
- HD Audio output: Pimoroni's pHAT DAC
- RTl8192/8188CUS (for AP/Ad-hoc capability) 802.11n WiFi Adapter
- Micro USB OTG Adapter
| /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cstk500v2 -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m | |
| avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35 | |
| Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ | |
| Copyright (c) 2007-2014 Joerg Wunsch | |
| System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf" | |
| User configuration file is "/Users/jmsaavedra/.avrduderc" | |
| User configuration file does not exist or is not a regular file, skipping |
##Hardware
| { | |
| // http://eslint.org/docs/rules/ | |
| "ecmaFeatures": { | |
| "binaryLiterals": false, // enable binary literals | |
| "blockBindings": false, // enable let and const (aka block bindings) | |
| "defaultParams": false, // enable default function parameters | |
| "forOf": false, // enable for-of loops | |
| "generators": false, // enable generators | |
| "objectLiteralComputedProperties": false, // enable computed object literal property names |
| // WS2812_RFduino_Test | |
| // By Thomas Olson | |
| // No complicated Pixel Library needed. | |
| // Tested with WS2812B 4 pin versions. | |
| // Modified by Sam Decrock to resemble NeoPixel API | |
| // Modified by http://jos.ph to incorporate more of NeoPixel examples | |
| // 20160510 ... verified works with Arduino 1.6.5 and simblee module | |
| // >>> using 3.3v > 5v level shifter between pin 6 and NeoPixels | |
| const int ws2812pin = 6; |
get these chromium debs (THEY ARE ALSO IN THIS FOLDER):
wget https://dl.dropboxusercontent.com/u/87113035/chromium-browser-l10n_45.0.2454.85-0ubuntu0.15.04.1.1181_all.deb
wget https://dl.dropboxusercontent.com/u/87113035/chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
wget https://dl.dropboxusercontent.com/u/87113035/chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
adding an init.d script:
/etc/init.d/skeleton for the script templatechmod a+x myscriptsudo mv myscript /etc/init.dOR
...tba...
| /****** | |
| * Teensy connected to Powerswitch Tail 2 | |
| */ | |
| #define PST_1 3 //powerswitch tail pin 1 | |
| #define PST_2 4 //powerswitch tail pin 2 | |
| #define LED 13 //teensy 3.0 on-board LED | |
| void setup() { | |
| Serial.begin(9600); |
| import java.io.*; | |
| import java.util.*; | |
| /** | |
| made this work. | |
| - joe |
| string completeUpdate = "{\"requests\": [{\"method\": \"PUT\",\"path\": \"/1/classes/"+dbName+"/"+displayObjectId+"\",\"body\": "+ updateObj + "},{\"method\": \"PUT\",\"path\": \"/1/classes/"+dbName+"/"+displayObjectId+"\",\"body\": " + updateObj2 + "}]}"; | |
| string someId = "someIdString"; | |
| pushData(someId, completeUpdate); | |
| void pushData(string someIdStr, string updateObjectStr){ | |
| cout << "updating parse. objectId: "<<someIdStr<<endl; | |
| cout << "\tupdate object: "<<updateObjectStr<<endl; | |
These steps walk through installing a static binary of any ffmpeg version on to your linux machine. If you want to compile from source, there are several ways to do so. Here's the official guide. Tested and works on an AWS EC2 Ubuntu instance, but should work on any Linux machine.