Jump to content

Exercise - Using Analogue Input Devices: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 3: Line 3:
Digital inputs are simpler to deal with, as they have a finite range of possible values.<br />
Digital inputs are simpler to deal with, as they have a finite range of possible values.<br />
For example, a two bit digital input can have one of only four possible values - 00, 01, 10 or 11.<br />
For example, a two bit digital input can have one of only four possible values - 00, 01, 10 or 11.<br />
Flowcode uses an 'Input' icon to deal with digital inputs.
Flowcode uses an 'Input' icon [[File:Btn Input.gif|30px]] to deal with digital inputs.


An analogue input, on the other hand can have any of an infinite number of possible values.
An analogue input, on the other hand can have any of an infinite number of possible values.<br />
As a result, it is more difficult to handle in Flowcode.
A component macro [[File:Btn Component Macro.gif|30px]] is used to input data from an analogue sensor.

Revision as of 16:54, 24 June 2013

The aim of this exercise is to use analogue input devices within a Flowcode flowchart.

Digital inputs are simpler to deal with, as they have a finite range of possible values.
For example, a two bit digital input can have one of only four possible values - 00, 01, 10 or 11.
Flowcode uses an 'Input' icon to deal with digital inputs.

An analogue input, on the other hand can have any of an infinite number of possible values.
As a result, it is more difficult to handle in Flowcode. A component macro is used to input data from an analogue sensor.