Changes between Version 8 and Version 9 of Docs/Prog/Manual/DeviceSupport/DIO


Ignore:
Timestamp:
11/30/09 13:32:31 (15 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/DeviceSupport/DIO

    v8 v9  
    11[[TOC(heading=Table of Contents, Docs/Prog/Manual/DeviceSupport/*)]] [[PageOutline]]
    22
    3 == DIO ==
    4 
    5 === Digital I/O ===
     3= DIO =
     4
     5== Digital I/O ==
    66{{{
    77echo “L000000020000000F” > /dev/mnbd
     
    9999For digital I/O event operations refer to the DioEvent class.
    100100
    101 === DIO Events ===
    102 
    103 ==== About ====
     101== DIO Events ==
     102
     103=== About ===
    104104This document will guide the programmer through the process of creating and using a simple DIO Event using the DioEvent class provided in the standard library (lib825). DIO Events are processed by the mainboard in order to allow a level of redundancy. Should the OPI board kernel crash the mainboard will continue to provide relay functionality and will disable events when their thresholds are reached.
    105105
    106 ==== The Code ====
     106=== The Code ===
    107107To use a DIO event follow the example code below.
    108108
     
    144144The above code would create an event that would enable board 0 (mainboard) pin 0 when the gross weight of scale 1 is less than 250.00 and greater than 0.00.
    145145
    146 === DIO Counting ===
    147 
    148 ==== Description ====
     146== DIO Counting ==
     147
     148=== Description ===
    149149
    150150Mainboard software 1.15 is required for counting feature. Kernel 2009-10-07 or later is required. All four inputs of the mainboard may be used for counting. The DIO cards allow any one of inputs 1 - 7 to be used for counting. Input 8 may also be used for counting. This allows for up to two inputs per DIO card to be used for counting.
    151151
    152 ==== Example ====
     152=== Example ===
    153153
    154154{{{