Sunday, December 28, 2014
ChuangZhuo RPI TFT LCD V2.1
/etc/modules:
fbtft_device rotate=270 name=itdb28 gpios=reset:15,dc:3,wr:2,cs:7,db00:17,db01:18,db02:27,db03:22,db04:23,db05:24,db06:25,db07:4
Product Page:
http://www.dx.com/p/chuangzhuo-rpi-tft-lcd-adapter-plate-2-4-tft-lcd-screen-touch-sensor-module-for-raspberry-pi-285311
Saturday, December 27, 2014
Raspistill Instant Capture
If you run raspistill each time you want to take a shot, it does not work fast enough. In order to get instant shots it is much more useful to use the "signal mode".
In signal mode, raspistill waits for a SIGUSR1 signal from another process. You can invoke it like this:
raspistill -t 0 -s -o /tmp/shot.jpg
-s signal mode
-o output file
-t 0 disable default 5s timeout
and then when ready, send the signal to take a shot:
pkill -SIGUSR1 raspistill
or
pkill -10 raspistill
that's it.
* If you don't specify -t 0 parameter and disable default 5s timeout, raspistill will quit after 2 or 3 shots (actually will quit after spending total 5 seconds).
Sunday, October 26, 2014
Android Full Backup/Restore w/o Root
- adb backup -apk -shared -all -f BACKUP-apk-shared-all.ab
- adb restore BACKUP-apk-shared-all.ab
Monday, September 29, 2014
Android Command Line Package Manager PM
- The list of installed packages
package:com.andrew.apollo
package:org.servalproject
package:com.google.android.ears
package:com.android.voicedialer
package:com.android.defcontainer
package:de.schaeuffelhut.android.openvpn
package:de.carknue.gmon2
- Uninstall package
Subscribe to:
Posts (Atom)