Class NeoPixelLEDStrip

    • Constructor Detail

      • NeoPixelLEDStrip

        public NeoPixelLEDStrip​(NeoPixelLEDStrip actor)
        Construct the NeoPixelLEDStrip adapter.
        Parameters:
        actor - the associated actor
    • Method Detail

      • _generateFireCode

        protected java.lang.String _generateFireCode()
                                              throws IllegalActionException
        Generate fire code. The method reads in printInt, printArray, printString, or printDouble from NeoPixelLEDStrip.c, replaces macros with their values and returns the results.
        Overrides:
        _generateFireCode in class NamedProgramCodeGeneratorAdapter
        Returns:
        The generated code.
        Throws:
        IllegalActionException - If the code stream encounters an error in processing the specified code block(s).