Application to run I/O ports
Posted 24 March 2012 - 07:42 PM
Posted 25 March 2012 - 03:51 AM
Posted 25 March 2012 - 02:31 PM
Probably the easiest way to control all of the output pins is to create an array for OutputPins, and create a output pin for each output. Then loop through the array to set the value for each.
The analog inputs can output like a DIO i believe.
I hope that helps,
You can also create a dictionary of type outputpins, this way you can access all the properties and methods without having to cast them back into their types and address them using a key rather than an index into an array. I also belive that the Analogue pins can act as both Input and output pins like any other I/O pin in the system.
The world will have to wait.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users