RGB LED Strip examples not working


#1

The code as shown in the Wiki will not work if you are using the Me-RJ25 Adapter. When using the Me-RJ25 Adapter with the Makeblock library, please make sure that when you initialize the MeRGBLed, you specify the Slot as well as the port:

MeRGBLed led(PORT_3);

should be

MeRGBLed led(PORT_3,SLOT1);

It would be helpful if the Wiki were updated to refect this: http://wiki.makeblock.cc/index.php?title=LED_RGB_Strip-Addressable,_Sealed


#2