Pocket

This tutorial describes a way of making Arduino sample of Arduino web site on Argo Embetics.
For preparation of using Arduino, refer to “Getting Started with Arduino”.

First, the same project as “Getting Started with Arduino” is necessary. New project or copyed project.

This tutorial describes about “Digital” sample.
For Arduino sample, refer to Learning page.

2. Digital

  • Blink Without Delay
    1. Validate Platform ModelValidate “P13” Port and set “I/O” as “O (Output)”.

    2. Make VariableMake ledState and previousMillis as Process Local Data.
    3. Make LogicLogic to be made is as below.
      “millis()” is used by “Passing time (ms)” of Time Module.

    4. Sequential Logic versionThe below Logic is the same processing by Sequential Logic.


      For the operation of Sequential Logic, refer to “Argo Embetics Tutorial #2”.

  • Button
    1. Validate and Set Platform ModelValidate the following elements and set “I/O”.
      • P2
        Input
      • P13
        Output
    2. Make VariableMake buttonState as Process Local Data.
      • Type:UC
      • Default value:0
    3. Make Logic
    4. Sequential Logic version
      For the operation of Sequential Logic, refer to “Argo Embetics Tutorial #2”.

  • Debounce
      • P2
        Input
      • P13
        Output
        Validate and Set Platform ModelValidate the following elements and set “I/O”.
    1. Make VariableMake Process Local Data for the following variable.
      • ledState
        • Type:UC
        • Default value:HIGH
        • Type:UC
        • Default value:0
          buttonState
        • Type:UC
        • Default value:0
          lastButtonState
        • Type:U4
        • Default value:0
          lastDebounceTime
    2. Make Logic

  • Simple Keyboard
      • Port
      • Advanced I/O
        Validate Platform Model
      • Validate the following Module elements.
        • Port
        • Advanced I/O
    1. Make VariableMake Data Store for “int notes[]”.
      Open DFD and add Data Store item.


      Contents of Data Store

    2. Make LogicThis Logic is expressed as Count Loop Logic.


      For the operation of Sequential Logic, refer to “Argo Embetics Tutorial #2”.

This tutorial has described the way of making Arduino sample.
For making other Model, refer to other tutorial, user’s guide or help.

The re-configurable Module and Logic are also provied there. Make use of them with Argo Embetics for various development.

Please send an e-mail to argo-embetics@argo-s.com to connect with us when you have any question about Argo Embetics or our company.

Latest information about Argo Embetics is on:

http://www.argo-s.com/ae_en/