Author: shedboy71
File and directory command line Directories List directory: ls List directory (wildcard matching): ls *.txt List all files of type: find . -name "*.txt" -print Switch/toggle between dirs: cd -.
I found this useful Distribution | Username | Password ---------------|------------|------------- Debian Squeeze | pi | raspberry Arch | root | root QtonPi | root | rootme Raspbian | pi |.
Accelerometer This object gives you access to the on-board accelerometer. The accelerometer also provides convenience functions for detecting gestures. The recognised gestures are: up, down, left, right, face up, face.
Buttons There are two buttons on the board, called button_a and button_b. Attributes button_a A Button instance representing the left button. button_b A Button instance representing the right button. Classes.
When we create a function, it must be given a name. The naming convention for functions is the same as for variables: •The function name can be made up of.
The most basic Arduino sketch consists of two functions called setup() and loop(). The Arduino IDE once installed has a basic example that shows this. Open the Arduino IDE and select.