Activity
Activity
Gizduino
Gizduino is based on the popular Arduino board which is the Arduino Diecimilia. It is an open source
computing platform based on a simple input/output (I/O) board and the use of standard programming
language. Gizduino is programmed using the Arduino development environment, which can be
donwloaded free from the Arduino website (http://arduino.cc).
Figure 3.2. Gizduino.
Sketchbook
The Arduino environment includes the concept of a sketchbook: a standard place to store your
programs (or sketches). The sketches in your sketchbook can be opened from the File > Sketchbook
menu or from the Open button on the toolbar. The first time you run the Arduino software, it will
automatically create a directory for your sketchbook. You can view or change the location of the
sketchbook location from with the Preferences dialog.
/*
----------map funtion------------the above funtion scales the output of adc, which is 10 bit and gives values
btw 0 to 1023, in values btw 0 to 255 form analogWrite funtion which only receives values btw this
range
*/
analogWrite(pwm,adc) ;
}