This is a demonstration of using Ruby and the WiringPi Gem to pulse an LED connected to a GPIO pin in a manner similar to the sleep indicator on a MacBook.
A video of the effect can be found here: http://www.youtube.com/watch?v=NCUMXK7qf-c
| #include <Wire.h> | |
| #include <Adafruit_NFCShield_I2C.h> | |
| #define IRQ (2) | |
| #define RESET (3) // Not connected by default on the NFC Shield | |
| Adafruit_NFCShield_I2C nfc(IRQ, RESET); | |
| #include <SPI.h> |
This is a demonstration of using Ruby and the WiringPi Gem to pulse an LED connected to a GPIO pin in a manner similar to the sleep indicator on a MacBook.
A video of the effect can be found here: http://www.youtube.com/watch?v=NCUMXK7qf-c
| Scalzi Hub - Zoquala | |
| Scalzi Port - Liu Xingga | |
| Scalzi Prospect - HIP 62304 | |
| Tjingola | |
| Scalzi Station - HIP 95973 | |
| Scalzi Vision - Caspatha |
When trying to use pktriggercord with a Pentax K-r I was unable to get it mounting via USB. I'd get lines like this over and over in /var/log/syslog:
Feb 21 14:11:12 raspberrypi kernel: [ 996.673083] usb 1-1.2: new high-speed USB device number 49 using dwc_otg
Feb 21 14:11:13 raspberrypi kernel: [ 996.933126] usb 1-1.2: new high-speed USB device number 50 using dwc_otg
Feb 21 14:11:13 raspberrypi kernel: [ 997.193121] usb 1-1.2: new high-speed USB device number 51 using dwc_otg
When looking at other USB problems people had documented solutions for with the Pi I found that turning the USB down from hi-speed to full-speed helped in some cases. To do that edit /boot/cmdline.txt and add this to the end and reboot
I hereby claim:
To claim this, I am signing this object:
| /main/actions/syncdatetime | |
| Label: Synchronize camera date and time with PC | |
| Type: TOGGLE | |
| Current: 0 | |
| /main/actions/syncdatetime | |
| Label: Synchronize camera date and time with PC | |
| Type: TOGGLE | |
| Current: 0 | |
| /main/actions/uilock |
| pi@doubleberry ~/tedstagram/monitor-app $ ./node_modules/.bin/ember s | |
| /home/pi/tedstagram/monitor-app/node_modules/ember-cli-ted-bootstrap/index.js:13 | |
| let tedBootstrapPath = path.join(app.bowerDirectory, 'ted-bootstrap'); | |
| ^^^ | |
| Unexpected strict mode reserved word | |
| /home/pi/tedstagram/monitor-app/node_modules/ember-cli-ted-bootstrap/index.js:13 | |
| let tedBootstrapPath = path.join(app.bowerDirectory, 'ted-bootstrap'); | |
| ^^^ | |
| SyntaxError: Unexpected strict mode reserved word | |
| at exports.runInThisContext (vm.js:73:16) |
| 04ACAD12D93880 | |
| 0453A9620F3382 | |
| 0434AA5AE13F80 | |
| 04B184EA213682 | |
| 04A3D7BA323182 | |
| 047CD072DC3F80 | |
| 045F6702DE3F80 | |
| 04417A5AA13E81 | |
| 042994BA323183 | |
| 043ED6BA323182 |
| #!/usr/bin/env ruby | |
| require 'fileutils' | |
| require 'json' | |
| puts "Starting" | |
| class String | |
| def squish | |
| dup.squish! | |
| end |
| language_code | name | |
|---|---|---|
| af | Afrikaans | |
| am | Amharic | |
| ar | Arabic | |
| arq | Algerian Arabic | |
| art-x-bork | Swedish Chef | |
| as | Assamese | |
| ast | Asturian | |
| az | Azerbaijani | |
| be | Belarusian |