SPL GPIO InterruptPort programming - Prepare emulator script to change the state of interrupt port


1. Add port write command on the emulator's editor panel
  1. You can write value for port by using below method.

       portname.Write(bool state)

  2. Current SPL MF Emulator provides below 11 available GPIO ports.

       Pin 0 ~ Pin 10

  3. In this tutorial, we will use below port7 of Pin number 7.

       id: port7,    Pin number: 7
 

  1. Add script to write into GPIO port on the Emulator's editor panel.



      
    port7.Write(true)
    
      



3. Send emulator script to the emulator and read state again in the application
  1. Continued in the next tutorial.