Changes

Jump to navigation Jump to search
147 bytes added ,  17:25, 24 February 2011
Line 372: Line 372:  
* store in: store a number, string, or media object in a named box
 
* store in: store a number, string, or media object in a named box
 
* start: connects action to toolbar 'Run' button
 
* start: connects action to toolbar 'Run' button
 +
 +
====Media Palette====
 +
[[Image:TAmedia.png]]
 +
 +
These are a collection of blocks used for displaying media objects, such as images from the Journal.
 +
 +
====Sensors Palette====
 +
[[Image:TAsensors.png]]
 +
 +
* query keyboard: check for keyboard input (results are stored in the keyboard block)
 +
* keyboard: current value of keyboard input (can be used in place of a number block)
 +
* read pixel: push the RGB value of the pixel under the turtle onto the FILO (blue is first, red is last)
 +
* turtle sees: the "palette color" of the pixel under the turtle
 +
* sound: raw data from microphone ranging -32000 to 32000
 +
* volume: ranging 0 to 32000
 +
* pitch: the resolution is +-8Hz
 +
 +
The OLPC XO can measure external inputs with its microphone jack:
 +
* resistance: measurement range is 750 to 14k ohms, (OLPC XO1) and 2k ohms to open circuit (OLPC XO1.5)
 +
* voltage: measurement range is DC 0.4V to 1.85V.  (OLPC XO1) and 0.17V to 3.0V (OLPC XO1.5)
 +
 +
See [[Activities/TurtleArt/Using Turtle Art Sensors]] for more details about the sensor blocks.
 +
 +
([[Activities/TurtleArt/Uso_de_TortugaArte_Sensores]] español)
    
====Extras Palette====
 
====Extras Palette====
Line 396: Line 420:  
* bottom of stack: block to denote the bottom of a collapsible stack
 
* bottom of stack: block to denote the bottom of a collapsible stack
 
:: To use the collapsible-stack blocks, place them around the blocks you want to hide
 
:: To use the collapsible-stack blocks, place them around the blocks you want to hide
  −
====Sensors Palette====
  −
[[Image:TAsensors.png]]
  −
  −
* query keyboard: check for keyboard input (results are stored in the keyboard block)
  −
* keyboard: current value of keyboard input (can be used in place of a number block)
  −
* read pixel: push the RGB value of the pixel under the turtle onto the FILO (blue is first, red is last)
  −
* turtle sees: the "palette color" of the pixel under the turtle
  −
* sound: raw data from microphone ranging -32000 to 32000
  −
* volume: ranging 0 to 32000
  −
* pitch: the resolution is +-8Hz
  −
  −
The OLPC XO can measure external inputs with its microphone jack:
  −
* resistance: measurement range is 750 to 14k ohms, (OLPC XO1) and 2k ohms to open circuit (OLPC XO1.5)
  −
* voltage: measurement range is DC 0.4V to 1.85V.  (OLPC XO1) and 0.17V to 3.0V (OLPC XO1.5)
  −
  −
See [[Activities/TurtleArt/Using Turtle Art Sensors]] for more details about the sensor blocks.
  −
  −
([[Activities/TurtleArt/Uso_de_TortugaArte_Sensores]] español)
      
====Portfolio Palette====
 
====Portfolio Palette====

Navigation menu