3. Make the Device Support similar to the previous exercise. As the command list above suggests, you will need analog input, analog output, binary input, and binary output prepared for the Device Support. That means not only you need GPIBREAD, but also GPIBWRITE as well. There are settle difference between GPIBREAD and GPIBWRITE in DSET. Please be careful with that when you write the Device Support for this. Try to understand this tutorial is a key to success. 4. Once successful writing the Device Support for it, then, write an EPICS IOC application using the device support. Once you have that, then, make an MEDM screen so that you can control the Arduino graphically. NOTE: for some reasons, the performance of the shield/IOC is bit slow. It may take a few seconds before you see any changes via Channel Access. I may come up with a clever solution for it, but right now, I have no idea why it is so slow...
Analog input: trimmer Trimmer Control; this will display some value light Light Sensor reading; this will display value from the sensor temp Temperature Sensor reading; this will display value from the sensor
Analog output: speaker The speaker will make some sounds
Binary input: left Shows the status of the left button (0 or 1) right Shows the status of the left button (0 or 1)
The serial port should be set as 9600,8,n,1 (standard configuration). Use \r (or CR) for the line end termination.
Binary output: ronoff[0 or 1] ronoff1 to turn on the Red LED, ronoff0 to turn off the LED bonoff[0 or 1] bonoff1 to turn on the Blue LED, bonoff0 to turn off the LED gonoff[0 or 1] gonoff1 to turn on the Green LED, gonoff0 to turn off the LED