Passive Button/ Christmas Carol
he LocoIoT class’ setData() function takes two inputs.
The first is an IOT_Codes class hardware setup code. For this lesson, the code used is SUBTYPE_PAS_BUZZ.
The second input is a Python list of integers. For this hardware setup, the list should contain two integer values for the duration in milliseconds and frequency in Hertz.