Main.ArduinoLib History

Hide minor edits - Show changes to output

September 02, 2011, at 12:12 PM by 212.251.231.236 -
Added line 3:
->[[#arduino_std | Arduino standard library]]
Added line 10:
[[#arduino_std]]
August 30, 2011, at 01:03 PM by 128.39.210.220 -
Changed line 11 from:
%center%Attach:bricks_shield.jpg
to:
%center%Attach:seeduino.jpg
August 30, 2011, at 12:51 PM by 128.39.210.220 -
Added lines 9-10:
!!Arduino standard library
Deleted lines 11-12:

!!Arduino standard library
August 30, 2011, at 12:50 PM by 128.39.210.220 -
Changed line 9 from:
%center%Attach:seeduino.png
to:
%center%Attach:bricks_shield.jpg
August 30, 2011, at 12:49 PM by 128.39.210.220 -
Added lines 8-9:

%center%Attach:seeduino.png
August 30, 2011, at 11:35 AM by 129.241.153.7 -
Added lines 3-8:
->[[#arduino_timer | Arduino timer]]
->[[#digital_input | Digital input]]
->[[#digital_output | Digital output]]
->[[#analog_input | Analog input]]
->[[#pwm | PWM]]

Added line 11:
[[#arduino_timer]]
Added line 21:
[[#digital_input]]
Added line 51:
[[#digital_output]]
Added line 62:
[[#analog_input]]
Added line 92:
[[#pwm]]
August 30, 2011, at 10:30 AM by 129.241.153.7 -
Added line 26:
'''Configuration'''
Added line 33:
'''Configuration'''
Added line 40:
'''Configuration'''
Added line 50:
'''Configuration'''
Added line 65:
'''Configuration'''
Added line 72:
'''Configuration'''
Added line 79:
'''Configuration'''
Added line 89:
'''Configuration'''
August 30, 2011, at 10:27 AM by 129.241.153.7 -
Added lines 26-27:
%left%Attach:simple_di_conf.png
Added lines 32-33:
%left%Attach:periodic_di_conf.png
Added lines 38-39:
%left%Attach:change_di_conf.png
Added lines 47-48:
%left%Attach:digital_output_conf.png
Added lines 61-62:
%left%Attach:simple_ai_conf.png
Added lines 67-68:
%left%Attach:periodic_ai_conf.png
Added lines 73-74:
%left%Attach:change_ai_conf.png
Changed lines 80-82 from:
*@@Pwm < set_pwm_value(value : UInt8)@@: Set @@value@@ as PWM value.
to:
*@@Pwm < set_pwm_value(value : UInt8)@@: Set @@value@@ as PWM value.

%left%Attach:pwm_conf.png
August 30, 2011, at 10:11 AM by 129.241.153.7 -
Changed line 66 from:
*@@Pwm < set_pwm_value(value : UInt8) Set @@value@@ as PWM value.
to:
*@@Pwm < set_pwm_value(value : UInt8)@@: Set @@value@@ as PWM value.
August 30, 2011, at 10:11 AM by 129.241.153.7 -
Changed line 18 from:
'''Message'''
to:
'''Messages'''
Changed lines 36-38 from:
Enables to set a digital state.

'''Message'''
to:
Enables to set a digital state on a pin.

'''Messages'''
Changed line 45 from:
'''Message'''
to:
'''Messages'''
Changed lines 61-66 from:
!!PWM
to:
!!PWM

Enables to set a PWM value between 0 and 255 on a pin.

'''Messages'''
*@@Pwm < set_pwm_value(value : UInt8) Set @@value@@ as PWM value.
August 30, 2011, at 09:32 AM by 129.241.153.7 -
Changed line 59 from:
In addition to send the result when it is requested, the value state is send when a change is detected. To avoid too many messages the value is checked every 20 milliseconds by default (@@refresh_rate@@). Moreover to prevent fake changes there is a @@value_precision@@ property which enables to fix the threshold which determine if the value has changed. The default value is 1. Keep in mind a value of 1 imply that the analog value has to vary of 2 at least to get refreshed.
to:
In addition to send the result when it is requested, the value state is send when a change is detected. To avoid too many messages the value is checked every 20 milliseconds by default (@@refresh_rate@@). Moreover to prevent fake changes there is a @@value_precision@@ property which enables to fix the threshold which determine if the value has changed. The default value is 1. Keep in mind a value of 1 imply that the analog value has to vary at least of 2 to get refreshed.
August 30, 2011, at 09:30 AM by 129.241.153.7 -
Added lines 55-56:
In addition to send the result when it is requested, the value is send periodically every @@refresh_rate@@ milliseconds.
Added lines 58-59:

In addition to send the result when it is requested, the value state is send when a change is detected. To avoid too many messages the value is checked every 20 milliseconds by default (@@refresh_rate@@). Moreover to prevent fake changes there is a @@value_precision@@ property which enables to fix the threshold which determine if the value has changed. The default value is 1. Keep in mind a value of 1 imply that the analog value has to vary of 2 at least to get refreshed.
August 30, 2011, at 09:03 AM by 129.241.153.7 -
Changed lines 43-47 from:
to:
Three types of analog input can be used. All of them use same messages but keep in mind that some properties can differ.

'''Message'''
*@@AnalogInput < read_analog_input()@@: Request the analog value.
*@@AnalogInput > analog_input_value(value : Int16)@@: The analog value.
August 30, 2011, at 08:56 AM by 129.241.153.7 -
Changed lines 16-17 from:
There are three ways to use digital input. All use same messages.
to:
There are three ways to use digital input. All of them use same messages.
Added lines 42-51:



!!!Simple analog input

The value of the analog pin is send only when it is requested.

!!!Periodic analog input

!!!On change analog input
August 30, 2011, at 08:51 AM by 129.241.153.7 -
Added lines 35-39:

Enables to set a digital state.

'''Message'''
*@@DigitalOutput < set_digital_output(value : DigitalState)@@: Set @@value@@ as the digital state.
August 30, 2011, at 08:41 AM by 129.241.153.7 -
Changed lines 24-25 from:
This thing
to:
The digital state is send only when it is requested.
Added lines 28-29:
In addition to send the result when it is requested, the digital state is send periodically every @@refresh_rate@@ milliseconds.
Added lines 31-32:

In addition to send the result when it is requested, the digital state is send at every change.
August 30, 2011, at 08:20 AM by 129.241.153.7 -
August 30, 2011, at 08:20 AM by 129.241.153.7 -
Changed lines 19-20 from:
*@@DigitalInput@@ < read_digital_input()@@: Request the value.
*@@DigitalInput@@ > digital_input_value(value : DigitalState)@@: The digital sate of the component.
to:
*@@DigitalInput < read_digital_input()@@: Request the value.
*@@DigitalInput > digital_input_value(value : DigitalState)@@: The digital sate of the component.
August 30, 2011, at 08:19 AM by 129.241.153.7 -
Changed lines 19-20 from:
*@@DigitalInput@@ < read_digital_input()@@:
*@@DigitalInput@@ > digital_input_value(value : DigitalState)@@:
to:
*@@DigitalInput@@ < read_digital_input()@@: Request the value.
*@@DigitalInput@@ > digital_input_value(value : DigitalState)@@: The digital sate of the component.
August 30, 2011, at 08:16 AM by 129.241.153.7 -
Changed lines 22-23 from:
!Simple digital input
to:
!!!Simple digital input
Changed lines 26-28 from:
!Periodic digital input

!On change digital input
to:
!!!Periodic digital input

!!!On change digital input
August 30, 2011, at 08:15 AM by 129.241.153.7 -
Changed lines 16-28 from:
to:
There are three ways to use digital input. All use same messages.

'''Message'''
*@@DigitalInput@@ < read_digital_input()@@:
*@@DigitalInput@@ > digital_input_value(value : DigitalState)@@:

!Simple digital input

This thing

!Periodic digital input

!On change digital input
August 30, 2011, at 08:09 AM by 129.241.153.7 -
Changed lines 10-13 from:
*@@timer < timer_start(delay : Int16)@@
*@@timer < timer_cancel()@@
*
@@timer > timer_timeout()@@ 
to:
*@@timer < timer_start(delay : Int16)@@: Start a timer for @@delay@@ milliseconds.
*@@timer <
timer_cancel()@@: Cancel the current timer.
*@@timer > timer_timeout()@@: The timer is over.
 
Added lines 15-16:

August 30, 2011, at 07:57 AM by 129.241.153.7 -
Changed lines 10-12 from:
*@@ < timer_start(delay : Int16)@@
*@@ < timer_cancel()@@
*@@ > timer_timeout()@@ 
to:
*@@timer < timer_start(delay : Int16)@@
*@@timer < timer_cancel()@@
*@@timer > timer_timeout()@@ 
August 30, 2011, at 07:54 AM by 129.241.153.7 -
Changed line 7 from:
The @@arduino_timer@@ file provides a Soft timer wich is used by quite all devices.
to:
The @@arduino_timer@@ file provides a soft timer witch is used by quite all devices.
August 30, 2011, at 07:53 AM by 129.241.153.7 -
Added lines 6-12:

The @@arduino_timer@@ file provides a Soft timer wich is used by quite all devices.

'''Message'''
*@@ < timer_start(delay : Int16)@@
*@@ < timer_cancel()@@
*@@ > timer_timeout()@@ 
August 29, 2011, at 05:20 PM by 212.251.231.236 -
Changed lines 1-13 from:
!!Core library
to:
!Core library

!!Arduino standard library

!!Arduino timer

!!Digital input

!!Digital output

!!Analog input

!!PWM
August 29, 2011, at 05:15 PM by 212.251.231.236 -
Added line 1:
!!Core library