This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* FACTS P1AM Example Series #1 - MQTT Call and Response | |
| * | |
| * This example uses an MQTT broker to update the outputs of a P1-08TRS | |
| * to the inputs of a P1-08SIM. You can easily switch these out for any | |
| * discrete input or output module. | |
| * | |
| * I used shiftr.io for this example. This is a free MQTT broker that provides | |
| * nice visualisation and is great for testing. If you want to use a different broker, | |
| * just update the broker string to the proper URL and update any login credentials | |
| * |