This is a simple example demonstrating how to use the Azande library.


Features

3 feature are implemented:

  • "Calculate Command": A Command Enum Feature that consists of 5 different enums.When user click a button in Azande Studio, corresponding enum-value is sent to the target.
    • Button "set 0": (enum-value=0) Sets VALUE to 0
    • Button "add 1": (enum-value=1) Add 1 to VALUE.
    • Button "sub 1": (enum-value=2) Subtract 1 from VALUE.
    • Button "mul 2": (enum-value=3) Multiply VALUE with 2.
    • Button "div 2": (enum-value=4) Divide VALUE with 2.
  • "Set Value Command": An Command Int32 Feature sent to Azande Studio. The event holds the new value for VALUE.
  • "Value Event": An Event Int32 Feature holds the VALUE. The Event is sent to Azande Studio every time VALUE is changed.


The circuit

No external hardware needed.

Azande Studio View





Downloads

The example is included in the Arduino Library.


Click here to access download of the Arduino Library