Basic IO Shield simple example program.

My father, who works at National Instruments, gave me a Uno 32 and a Bisic IO Shield to create a demo for an event.
I’ve made a program which uses all the things on the basic io shield, except the open drain fet drivers. It’s easy to use and the code is easy to understand.
To download the code:
Basic IO shield Test
When you have uploaded the code to your Uno32/Max32, you wil see:
image
When you set the first switch up you will see:
image
When you twist the potentiometer you will see that the leds are turning on, when you twist clockwise, and of, when you twist counterclockwise.
When you set the second switch up you will see:
image
When you press one or two buttons you will see that the text changes.
When you set the 3rd switch up the display shows:
image
This is the value that the analog pin(A0) reads, the number changes when you twist the potentiometer.
When you set the 4th switch up the temperature in degrees Celcius is shown:
image
When you set two random switches up you will see:
image
When you set 3 random switches up the display shows:
image
When you set all the switches up you will see:
image

comments powered by Disqus