|
|||||||
|
|||||||||||
|
The OOPic is designed to be used in embedded applications. These are applications in which a stand-alone processor is required to control some form of hardware. To accommodate this, the OOPic has thirty-one I/O lines that can be used in various ways. Each of the thirty-one physical I/O lines can both sink and source 25mA. I/O Lines 8 – 15 have an internal pull-up resistor that can be activated with the Pullup property of the OOPic Object. I/O Lines 16 – 31 are Schmidt Trigger type inputs when in the input mode. These I/O lines are controlled by a set of special Objects referred to as Hardware Objects. The Following table shows the electrical characteristics for all the OOPic's I/O lines.
The voltage regulator on the OOPic is a TO-92 case 7805 +5 Volt regulator and is rated at 100 Ma. If more power is needed, a +5 voltage source can be supplied on the +5 lines of the 40 Pin I/O connector. Hardware Objects are Objects that encapsulate the functionality of the physical hardware circuits within the OOPic. They interface with the physical hardware circuits connected to the OOPic and provide an application program with a hardware interface that has the capability of controlling and respond to that hardware. Hardware Objects are the one and only method the OOPic uses to provide hardware I/O. |
|||||||||||
|
|||||||||||
| Like all other Objects, Hardware Objects must be created before they can be used. In Basic syntax, this is done with the Dim statement. The Dim statement expects the programmer to specify a unique name for the Object and a Class specification to tell what kind of Object to create. For more information on using the Dim statement, refer to Chapter 3.
For a full list of Hardware Objects, refer to the Object list specific to the version of ooPIC that you are using. Each of the Hardware Objects is covered in detail in the Object List. |
|||||||||||