I have had reports from a user in a FB group about the Relay_blink example not working and I verified it didn't.
I ended up adding a begin() method to the MRKIOTCarrier_Relay Class to set the pinMode().
The MKRIoTCarrier::begin() method now invokes these for Relay_1 and Relay_2.
Also set the _pin private member in the initializer list to make it const int.
I have had reports from a user in a FB group about the
Relay_blink
example not working and I verified it didn't. I ended up adding abegin()
method to theMRKIOTCarrier_Relay
Class to set thepinMode()
. TheMKRIoTCarrier::begin()
method now invokes these forRelay_1
andRelay_2
. Also set the_pin
private member in the initializer list to make itconst int
.Tested and working, but please run your tests