Main.ElectronicBricks History
Hide minor edits - Show changes to output
Changed lines 122-123 from:
A simple example which use this device is available [[ArduinoSamples#simple_light | here]].
to:
A simple example which use this device is available [[ArduinoSamples#simple_sensor_display | here]].
Changed lines 138-139 from:
A simple example which use this device is available [[ArduinoSamples#simple_rotation | here]].
to:
A simple example which use this device is available [[ArduinoSamples#simple_sensor_display | here]].
Changed line 172 from:
A simple example which use this device is available [[ArduinoSamples#simple_temp | here]].
to:
A simple example which use this device is available [[ArduinoSamples#simple_sensor_display | here]].
Added lines 51-52:
A simple example which use this device is available [[ArduinoSamples#simple_buzzer | here]].
Added lines 72-73:
A simple example which use this device is available [[ArduinoSamples#simple_button | here]].
Added lines 87-88:
A simple example which use this device is available [[ArduinoSamples#simple_tilt | here]].
Added lines 101-102:
A simple example which use this device is available [[ArduinoSamples#simple_water | here]].
Added lines 122-123:
A simple example which use this device is available [[ArduinoSamples#simple_light | here]].
Added lines 138-139:
A simple example which use this device is available [[ArduinoSamples#simple_rotation | here]].
Added lines 156-157:
A simple example which use this device is available [[ArduinoSamples#simple_sound | here]].
Changed lines 170-172 from:
%left%Attach:temp_conf.png
to:
%left%Attach:temp_conf.png
A simple example which use this device is available [[ArduinoSamples#simple_temp | here]].
A simple example which use this device is available [[ArduinoSamples#simple_temp | here]].
Added lines 35-36:
A simple example which use this device is available [[ArduinoSamples#simple_led | here]].
Added lines 71-72:
This device detect when the tilt switch is moved.
Deleted lines 74-75:
Added lines 101-102:
The light sensor sends the light value when it changes but it is also possible to force the reading at any time. By default the sensor checks if the value has change every 500 milliseconds (@@refresh_rate@@). This is deliberate slow to avoid to many refresh when the light varies greatly.
Deleted lines 104-105:
Added lines 115-116:
The rotation sensor sends the rotation value when its changes but it is also possible to force the reading at any time. By default it uses the predetermined refresh rate so it checks if the value has changed every 20 milliseconds. This should be enough for most of applications.
Deleted lines 118-119:
Deleted lines 128-129:
Added lines 133-134:
%left%Attach:sound_brick.jpg
Added lines 145-146:
The temperature sensor sends the temperature in degree Celsius when its changes but it is also possible to force the reading at any time. By default it checks the value every 500 milliseconds (@@refresh rate@@).
Deleted lines 147-148:
The temperature sensor sends the temperature in degree Celsius when its changes but it is also possible to force the reading at any time. By default it checks the value all the 500 milliseconds (@@refresh rate@@).
Changed line 5 from:
to:
[+[[#dig_ou | Digital output]]+]
Changed line 8 from:
to:
[+[[#dig_in | Digital input]]+]
Changed line 12 from:
to:
[+[[#an_in | Analog input]]+]
Changed line 5 from:
[+[[#dig_ou | Digital output]]+]
to:
*[+[[#dig_ou | Digital output]]+]
Changed lines 8-16 from:
[[#tilt | Tilt switch]]
[[#water | Water sensor]]
[[#an_in | Analog input]]
[[#rotation | Rotation sensor]]
[[#sound | Sound sensor]]
[[#temp | Temperature sensor]]
to:
*[+[[#dig_in | Digital input]]+]
->[[#button | Button ]]
->[[#tilt | Tilt switch]]
->[[#water | Water sensor]]
*[+[[#an_in | Analog input]]+]
->[[#light | Light sensor]]
->[[#rotation | Rotation sensor]]
->[[#sound | Sound sensor]]
->[[#temp | Temperature sensor]]
->[[#button | Button ]]
->[[#tilt | Tilt switch]]
->[[#water | Water sensor]]
*[+[[#an_in | Analog input]]+]
->[[#light | Light sensor]]
->[[#rotation | Rotation sensor]]
->[[#sound | Sound sensor]]
->[[#temp | Temperature sensor]]
Changed lines 5-8 from:
[+[[#dig_ou | Digital output]]+]
[[#led | LED]]
[[#buzzer | Buzzer]]
[[#dig_in | Digital input]]
[[#buzzer | Buzzer]]
[[#dig_in | Digital input]]
to:
[+[[#dig_ou | Digital output]]+]
->[[#led | LED]]
->[[#buzzer | Buzzer]]
->[[#dig_in | Digital input]]
->[[#led | LED]]
->[[#buzzer | Buzzer]]
->[[#dig_in | Digital input]]
Changed line 5 from:
[[#dig_ou | Digital output]]
to:
[+[[#dig_ou | Digital output]]+]
Added lines 71-72:
%left%Attach:tilt_brick.jpg
Added lines 115-116:
%left%Attach:rotation_brick.jpg
Added lines 128-129:
%left%Attach:sound_brick.jpg
Added line 15:
[[#sound | Sound sensor]]
Deleted line 16:
Added lines 5-18:
[[#dig_ou | Digital output]]
[[#led | LED]]
[[#buzzer | Buzzer]]
[[#dig_in | Digital input]]
[[#button | Button ]]
[[#tilt | Tilt switch]]
[[#water | Water sensor]]
[[#an_in | Analog input]]
[[#light | Light sensor]]
[[#rotation | Rotation sensor]]
[[#temp | Temperature sensor]]
[[#sound | Sound sensor]]
[[#dig_ou]]
[[#led | LED]]
[[#buzzer | Buzzer]]
[[#dig_in | Digital input]]
[[#button | Button ]]
[[#tilt | Tilt switch]]
[[#water | Water sensor]]
[[#an_in | Analog input]]
[[#light | Light sensor]]
[[#rotation | Rotation sensor]]
[[#temp | Temperature sensor]]
[[#sound | Sound sensor]]
[[#dig_ou]]
Added line 22:
[[#buzzer]]
Added line 35:
[[#dig_in]]
Added line 40:
[[#button]]
Added line 54:
[[#tilt]]
Added line 65:
[[#water]]
Added line 77:
[[#an_in]]
Added line 82:
[[#light]]
Added line 96:
[[#rotation]]
Added line 108:
[[#sound]]
Added line 122:
[[#temp]]
Deleted line 124:
Changed lines 134-136 from:
%left%Attach:temp_conf.png
[[#led | see led]]
[[#led | see led]]
to:
%left%Attach:temp_conf.png
Changed lines 9-10 from:
!!!LED
to:
[[#led]]!!!LED
Changed lines 124-126 from:
%left%Attach:temp_conf.png
to:
%left%Attach:temp_conf.png
[[#led | see led]]
[[#led | see led]]
Changed lines 3-5 from:
This is a description of main devices of electronic bricks.\\
For each device we present provided ports, messages can be transmitted and requirements.
For each device we present provided ports, messages can be transmitted and requirements
to:
This is a documentation for the electronic bricks library.
Added lines 7-8:
This category is based on @@digital_output@@ in core library.
Added lines 35-36:
This category is based on @@digital_input@@ in core library.
Added lines 72-73:
This category is based on @@analog_input@@ in core library.
Added lines 61-63:
'''Messages'''
*@@WaterSensor > dry()@@: The sensor is dry.
*@@WaterSensor > wet()@@: The sensor is wet.
*@@WaterSensor > dry()@@: The sensor is dry.
*@@WaterSensor > wet()@@: The sensor is wet.
Changed lines 10-11 from:
%left%Attach:led_brick.jpg
to:
%left%Attach:led_brick.jpg
Added lines 36-37:
This basic device allows to detect when the button is pressed or released.
Added lines 49-50:
This device detect when the tilt switch is moved.
Added line 60:
Added line 101:
Added lines 103-108:
The temperature sensor sends the temperature in degree Celsius when its changes but it is also possible to force the reading at any time. By default it checks the value all the 500 milliseconds (@@refresh rate@@).
'''Messages'''
*@@TemperatureSensor < read_temperature()@@: Request the temperature to the sensor.
*@@TemperatureSensor > temperature_value(val : UInt16)@@: The temperature from the sensor.
Changed line 88 from:
The sound sensor is a little particular and should be used to detect a brutal change in sound environment but not to monitoring the sound level.
to:
The sound sensor should be used to detect a brutal change in sound environment but not to monitoring the sound level.
Changed lines 89-94 from:
By default it checks the sound value every millisecond (@@refresh_rate@@) and if it detects a change it compares with its current maximum. When it gets 100 different measures (@@sample_rate@@) it sends the maximal recording value. Properties might be changed to fit your needs.
to:
By default it checks the sound value every millisecond (@@refresh_rate@@) and if it detects a change it compares with its current maximum. When it gets 100 different measures (@@sample_rate@@) it sends the maximal recording value. Properties might be changed to fit your needs.
Otherwise the reading of the instant value can be forced.
'''Messages'''
*@@SoundSensor < read_sound()@@: Request the sound value to the sensor.
*@@SoundSensor > sound_value(val : UInt16)@@: The sound value from the sensor.
Otherwise the reading of the instant value can be forced.
'''Messages'''
*@@SoundSensor < read_sound()@@: Request the sound value to the sensor.
*@@SoundSensor > sound_value(val : UInt16)@@: The sound value from the sensor.
Changed line 89 from:
By default it checks the sound value every millisecond (@@refresh_rate@@) and if it detects a change it compares with its current maximum. When it gets 100 different measures (@@sample_rate@@) it sends the maximal recording value. Variables might be
to:
By default it checks the sound value every millisecond (@@refresh_rate@@) and if it detects a change it compares with its current maximum. When it gets 100 different measures (@@sample_rate@@) it sends the maximal recording value. Properties might be changed to fit your needs.
Changed lines 88-89 from:
The sound sensor is a little particular and might be used to detect a brutal change in sound environment but not to monitoring the sound level.
Ho
to:
The sound sensor is a little particular and should be used to detect a brutal change in sound environment but not to monitoring the sound level.
By default it checks the sound value every millisecond (@@refresh_rate@@) and if it detects a change it compares with its current maximum. When it gets 100 different measures (@@sample_rate@@) it sends the maximal recording value. Variables might be
By default it checks the sound value every millisecond (@@refresh_rate@@) and if it detects a change it compares with its current maximum. When it gets 100 different measures (@@sample_rate@@) it sends the maximal recording value. Variables might be
Added lines 87-89:
The sound sensor is a little particular and might be used to detect a brutal change in sound environment but not to monitoring the sound level.
Ho
Changed lines 22-23 from:
%center%Attach:buzzer_brick.jpg
to:
%left%Attach:buzzer_brick.jpg
Changed line 36 from:
%right%Attach:button_brick.jpg
to:
%left%Attach:button_brick.jpg
Changed lines 53-54 from:
!!Analog input
to:
!!!Water sensor
%left%Attach:water_brick.jpg
%left%Attach:water_brick.jpg
Changed lines 58-61 from:
to:
%left%Attach:water_conf.png
!!Analog input
!!Analog input
Changed lines 89-90 from:
to:
%left%Attach:sound_conf.png
Changed lines 96-101 from:
'''Configuration'''
to:
%left%Attach:temp_conf.png
Changed line 43 from:
%left%Attach:buzzer_conf.png
to:
%left%Attach:button_conf.png
Changed lines 18-19 from:
%left%Attach:led.png
to:
%left%Attach:led_conf.png
!!!Buzzer
%center%Attach:buzzer_brick.jpg
'''Messages'''
*@@Buzzer < buzzer_on()@@: Switch on the buzzer.
*@@Buzzer < buzzer_off()@@: Switch off the buzzer.
*@@Buzzer < buzzer_delay(delay : UInt16)@@: Switch on the buzzer for @@delay@@ milliseconds.
!!!Buzzer
%center%Attach:buzzer_brick.jpg
'''Messages'''
*@@Buzzer < buzzer_on()@@: Switch on the buzzer.
*@@Buzzer < buzzer_off()@@: Switch off the buzzer.
*@@Buzzer < buzzer_delay(delay : UInt16)@@: Switch on the buzzer for @@delay@@ milliseconds.
Changed lines 30-32 from:
*io.digital
to:
%left%Attach:buzzer_conf.png
!!Digital input
!!!Button
%right%Attach:button_brick.jpg
'''Messages'''
*@@Button > press()@@: The button has been pressed.
*@@Button > release()@@: The button has been released.
!!Digital input
!!!Button
%right%Attach:button_brick.jpg
'''Messages'''
*@@Button > press()@@: The button has been pressed.
*@@Button > release()@@: The button has been released.
Changed lines 43-61 from:
* property: @@
'''Instance group Led'''
[@
group _ : Led
set _.io.digital_output.pin = ? // [DigitalPin]
connector ? => _.led.Led
@]
!!!Buzzer
%center%Attach:buzzer_brick.jpg
'''Messages'''
*@@Buzzer < buzzer_on()@@: Switch on the buzzer.
*@@Buzzer < buzzer_off()@@: Switch off the buzzer.
*@@Buzzer < buzzer_delay(delay : UInt16)@@: Switch on the buzzer for @@delay@@ milliseconds
to:
%left%Attach:buzzer_conf.png
!!!Tilt switch
'''Messages'''
*@@TiltSwitch > tilt_toggle()@@: The switch position has been changed.
!!!Tilt switch
'''Messages'''
*@@TiltSwitch > tilt_toggle()@@: The switch position has been changed.
Changed lines 51-63 from:
*io.digital
!!Digital
!!!Button
%right%Attach:button_brick.jpg
'''Messages'''
*@@Button > press()@@: The button has been pressed.
*@@Button > release()@@: The button has been released.
to:
%left%Attach:tilt_conf.png
!!Analog input
!!Analog input
Changed lines 57-58 from:
!!!Tilt switch
to:
!!!Light sensor
%left%Attach:light_brick.jpg
The light sensor sends the light value when it changes but it is also possible to force the reading at any time. By default the sensor checks if the value has change all the 500 milliseconds (@@refresh_rate@@). This is deliberate slow to avoid to many refresh when the light varies greatly.
%left%Attach:light_brick.jpg
The light sensor sends the light value when it changes but it is also possible to force the reading at any time. By default the sensor checks if the value has change all the 500 milliseconds (@@refresh_rate@@). This is deliberate slow to avoid to many refresh when the light varies greatly.
Changed lines 64-65 from:
*@@TiltSwitch > tilt_toggle()@@: The switch position has been changed.
to:
*@@LightSensor < read_light()@@: Request the light value to the sensor.
*@@LightSensor > light_value(val : UInt16)@@: The light value from the sensor.
*@@LightSensor > light_value(val : UInt16)@@: The light value from the sensor.
Changed lines 68-70 from:
to:
%left%Attach:light_conf.png
!!!Rotation sensor
The rotation sensor sends the rotation value when its changes but it is also possible to force the reading at any time. By default it uses the predetermined refresh rate so it checks if the value has changed all the 20 milliseconds. This should be enough for most of applications.
'''Messages'''
*@@RotationSensor < read_rotation()@@: Request the rotation value to the sensor.
*@@RotationSensor > rotation_value(val : UInt16)@@: The rotation value from the sensor.
!!!Rotation sensor
The rotation sensor sends the rotation value when its changes but it is also possible to force the reading at any time. By default it uses the predetermined refresh rate so it checks if the value has changed all the 20 milliseconds. This should be enough for most of applications.
'''Messages'''
*@@RotationSensor < read_rotation()@@: Request the rotation value to the sensor.
*@@RotationSensor > rotation_value(val : UInt16)@@: The rotation value from the sensor.
Changed lines 79-100 from:
The light
'''Messages'''
*@@LightSensor < read_light()@@: Request the light value to the sensor.
*@@LightSensor > light_value(val : UInt16)@@: The light value from the sensor.
'''Configuration'''
!!!Rotation sensor
The rotation sensor sends the rotation value when its changes but it is also possible to force the reading at any time. By default it uses the predetermined refresh rate so it checks if the value has changed all the 20 milliseconds. This should be enough for most of applications.
'''Messages'''
*@@RotationSensor < read_rotation()@@: Request the rotation value to the sensor.
*@@RotationSensor > rotation_value(val : UInt16)@@: The rotation value from the sensor.
'''Configuration'''
to:
%left%Attach:rotation_conf.png
!!!Sound sensor
!!!Sound sensor
Changed line 85 from:
The rotation sensor sends the rotation value when its changes but it is also possible to force the reading at any time. By default it uses the predetermined refresh_rate so it checks if the value has changed all the 20 milliseconds. This should be enough for most of applications.
to:
The rotation sensor sends the rotation value when its changes but it is also possible to force the reading at any time. By default it uses the predetermined refresh rate so it checks if the value has changed all the 20 milliseconds. This should be enough for most of applications.
Changed lines 75-76 from:
The light sensor is implemented to send its value when it changes but it is also possible to force the reading at any time. By default the sensor checks if the value has change all the 500 milliseconds (@@refresh_rate@@). This is deliberate slow to avoid to many refresh when the light varies greatly.
to:
The light sensor sends the light value when it changes but it is also possible to force the reading at any time. By default the sensor checks if the value has change all the 500 milliseconds (@@refresh_rate@@). This is deliberate slow to avoid to many refresh when the light varies greatly.
Added lines 84-89:
The rotation sensor sends the rotation value when its changes but it is also possible to force the reading at any time. By default it uses the predetermined refresh_rate so it checks if the value has changed all the 20 milliseconds. This should be enough for most of applications.
'''Messages'''
*@@RotationSensor < read_rotation()@@: Request the rotation value to the sensor.
*@@RotationSensor > rotation_value(val : UInt16)@@: The rotation value from the sensor.
Added lines 74-75:
The light sensor is implemented to send its value when it changes but it is also possible to force the reading at any time. By default the sensor checks if the value has change all the 500 milliseconds (@@refresh_rate@@). This is deliberate slow to avoid to many refresh when the light varies greatly.
Added lines 74-77:
'''Messages'''
*@@LightSensor < read_light()@@: Request the light value to the sensor.
*@@LightSensor > light_value(val : UInt16)@@: The light value from the sensor.
Changed line 12 from:
'''Messages:'''
to:
'''Messages'''
Changed line 39 from:
'''Messages:'''
to:
'''Messages'''
Changed line 54 from:
'''Messages:'''
to:
'''Messages'''
Added lines 61-63:
'''Messages'''
*@@TiltSwitch > tilt_toggle()@@: The switch position has been changed.
Changed lines 22-24 from:
* group @@_ : Led@@
* property @@_.io.digital_output.pin : DigitalPin@@
* provided port @@_.led.Led@@
* property @@_.io.digital_output.pin : DigitalPin@@
* provided port @@_.led.Led@@
to:
* @@group _ : Led@@
* property: @@_.io.digital_output.pin : DigitalPin@@
* provided port: @@_.led.Led@@
* property: @@_.io.digital_output.pin : DigitalPin@@
* provided port: @@_.led.Led@@
Changed lines 22-23 from:
* @@group _ : Led@@
*-> provided port @@_.led.Led@@
*-> provided port @@_.led.
to:
* group @@_ : Led@@
Added line 24:
* provided port @@_.led.Led@@
Changed lines 23-24 from:
->* @@provided port _.led.Led@@
->* @@property _.io.digital_output.pin : DigitalPin@@
to:
*-> provided port @@_.led.Led@@
* property @@_.io.digital_output.pin : DigitalPin@@
* property @@_.io.digital_output.pin : DigitalPin@@
Changed lines 23-24 from:
* @@provided port _.led.Led@@
* @@property _.io.digital_output.pin : DigitalPin@@
* @@property _.io.digital_output.pin : DigitalPin@@
to:
->* @@provided port _.led.Led@@
->* @@property _.io.digital_output.pin : DigitalPin@@
->* @@property _.io.digital_output.pin : DigitalPin@@
Changed lines 29-30 from:
set _.io.digital_output.pin = ? // DigitalPin
connector ? => _.led.Led@@
connector ? => _.led.
to:
set _.io.digital_output.pin = ? // [DigitalPin]
connector ? => _.led.Led
connector ? => _.led.Led
Added lines 26-31:
'''Instance group Led'''
[@
group _ : Led
set _.io.digital_output.pin = ? // DigitalPin
connector ? => _.led.Led@@
@]
[@
group _ : Led
set _.io.digital_output.pin = ? // DigitalPin
connector ? => _.led.Led@@
@]
Changed line 24 from:
* @@property _.led.io.digital_output.pin : DigitalPin@@
to:
* @@property _.io.digital_output.pin : DigitalPin@@
Added lines 20-24:
'''Configuration'''
* @@group _ : Led@@
* @@provided port _.led.Led@@
* @@property _.led.io.digital_output.pin : DigitalPin@@
Added lines 39-42:
'''Messages:'''
*@@Button > press()@@: The button has been pressed.
*@@Button > release()@@: The button has been released.
Added lines 30-33:
'''Configuration'''
*group : Buzzer
*io.digital_output.pin : DigitalPin
*group : Buzzer
*io.digital_output.pin : DigitalPin
Added lines 40-41:
'''Configuration'''
Added lines 44-45:
'''Configuration'''
Added lines 48-49:
'''Configuration'''
Added lines 54-55:
'''Configuration'''
Added lines 58-59:
'''Configuration'''
Added lines 62-63:
'''Configuration'''
Added lines 68-69:
'''Configuration'''
Changed lines 72-74 from:
%left%Attach:water_brick.jpg
to:
%left%Attach:water_brick.jpg
'''Configuration'''
'''Configuration'''
Changed line 19 from:
*Led.io.digital_output.pin : DigitalPin
to:
*io.digital_output.pin : DigitalPin
Added lines 16-19:
'''Configuration'''
*group : Led
*Led.io.digital_output.pin : DigitalPin
Deleted lines 11-12:
*Led
Added lines 20-24:
'''Messages:'''
*@@Buzzer < buzzer_on()@@: Switch on the buzzer.
*@@Buzzer < buzzer_off()@@: Switch off the buzzer.
*@@Buzzer < buzzer_delay(delay : UInt16)@@: Switch on the buzzer for @@delay@@ milliseconds.
Changed lines 15-17 from:
*@@Led <- led_on()@@: Switch on the LED.
*@@Led <- led_off()@@: Switch off the LED.
*@@Led <- led_toggle()@@: Switch the LED to the opposite state.
*@@Led <
*@@Led <
to:
*@@Led < led_on()@@: Switch on the LED.
*@@Led < led_off()@@: Switch off the LED.
*@@Led < led_toggle()@@: Switch the LED to the opposite state.
*@@Led < led_off()@@: Switch off the LED.
*@@Led < led_toggle()@@: Switch the LED to the opposite state.
Changed lines 15-17 from:
*@@Led<-led_on()@@: Switch on the LED.
*@@Led<-led_off()@@: Switch off the LED.
*@@Led<-led_toggle()@@: Switch the LED to the opposite state.
*@@Led<-led_off()@@: Switch off the LED.
*@@Led<-led_toggle()@@: Switch the LED to the opposite state.
to:
*@@Led <- led_on()@@: Switch on the LED.
*@@Led <- led_off()@@: Switch off the LED.
*@@Led <- led_toggle()@@: Switch the LED to the opposite state.
*@@Led <- led_off()@@: Switch off the LED.
*@@Led <- led_toggle()@@: Switch the LED to the opposite state.
Changed lines 15-17 from:
*@@led_on ()@@: Switch on the LED.
*@@led_off ()@@: Switch off the LED.
*@@led_toggle ()@@: Switch the LED to the opposite state.
*@@led_off
*@@led_toggle
to:
*@@Led<-led_on()@@: Switch on the LED.
*@@Led<-led_off()@@: Switch off the LED.
*@@Led<-led_toggle()@@: Switch the LED to the opposite state.
*@@Led<-led_off()@@: Switch off the LED.
*@@Led<-led_toggle()@@: Switch the LED to the opposite state.
Changed lines 10-11 from:
%left%Attach:led_brick.jpg \
to:
%left%Attach:led_brick.jpg
Changed lines 10-11 from:
%left%Attach:led_brick.jpg
to:
%left%Attach:led_brick.jpg \
Changed lines 11-15 from:
[+
to:
'''Provided ports:'''
*Led
'''Messages:'''
*@@led_on ()@@: Switch on the LED.
*@@led_off ()@@: Switch off the LED.
*@@led_toggle ()@@: Switch the LED to the opposite state.
*Led
'''Messages:'''
*@@led_on ()@@: Switch on the LED.
*@@led_off ()@@: Switch off the LED.
*@@led_toggle ()@@: Switch the LED to the opposite state.
Changed lines 11-12 from:
Provided ports: Led
Messages: led_on () / led_off () / led_toggle ()
to:
[+'''Provided ports:'''+] Led \\
[+'''Messages:'''+]
:led_on (): Switch on the LED.
:led_off (): Switch off the LED.
:led_toggle (): Switch the LED to the opposite state.
[+'''Messages:'''+]
:led_on (): Switch on the LED.
:led_off (): Switch off the LED.
:led_toggle (): Switch the LED to the opposite state.
Added lines 11-12:
Provided ports: Led
Messages: led_on () / led_off () / led_toggle ()
Messages: led_on () / led_off () / led_toggle ()
Changed line 3 from:
This is a description of main devices of electronic bricks.
to:
This is a description of main devices of electronic bricks.\\
Changed line 4 from:
For each devices we specify
to:
For each device we present provided ports, messages can be transmitted and requirements.
Changed line 27 from:
%left%Attach:led_brick.jpg
to:
%left%Attach:light_brick.jpg
Added lines 9-10:
%left%Attach:led_brick.jpg
Added lines 13-14:
%center%Attach:buzzer_brick.jpg
Added lines 19-20:
%right%Attach:button_brick.jpg
Added lines 27-28:
%left%Attach:led_brick.jpg
Added lines 35-36:
%left%Attach:temp_brick.jpg
Added lines 38-39:
%left%Attach:water_brick.jpg
Added lines 1-27:
!Electronic bricks
This is a description of main devices of electronic bricks.
!!Digital output
!!!LED
!!!Buzzer
!!Digital input
!!!Button
!!!Tilt switch
!!Analog input
!!!Light sensor
!!!Rotation sensor
!!!Sound sensor
!!!Temperature sensor
!!!Water sensor
This is a description of main devices of electronic bricks.
!!Digital output
!!!LED
!!!Buzzer
!!Digital input
!!!Button
!!!Tilt switch
!!Analog input
!!!Light sensor
!!!Rotation sensor
!!!Sound sensor
!!!Temperature sensor
!!!Water sensor