 |
- create a simple NET Connect Interface application that
uses the supplied knob and AnalogInput widget. Process
the sensor information coming from the knob to do the following:
- using the ClipControl widget and the min and max features of the AnalogInput, make
a rectangle scale from 1 to 250 pixels wide (keep the height constant)
- using the ClipControl widget and the min,
max and invert features
of the AnalogInput,
make a circle scale (both x and y dimensions) from 250 to 500
pixles in diameter with 250 as the size when the knob it at its
maximum, and
500 as the size when the knob is at its minimum. in addition,
use another ClipControl widget to change the same circle's y coordinate
position.
- using the ClipControl widget and the cieling and floor features
of the AnalogInput, make a square move across
the screen, but only respond to the middle third
of the
knob range. I.e. the square should not move in
the lower third range of the knob, it should move in the middle
third, and not move in the upper third range of the knob.
- buy the tools listed at the bottom of the IOS syllabus
page
- readings:
|
|