autoscroll-rgblcd

cesars/rgblcd/autoscroll-rgblcd

No description
autoscroll-rgblcd
@/autoscroll-rgblcd
lcd@/rgblcd
timenumber
ms
actboolean
initpulse
autoscroll-rgblcd
lcd
time
act
init
done
donepulse
To use the node in your project you should have the cesars/rgblcd library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {

    if (!isInputDirty<input_init>(ctx)){
        return;}

    auto lcd = getValue<input_lcd>(ctx);
//    auto _time = getValue<input_time>(ctx);

    if (getValue<input_act>(ctx)){
        lcd->autoscroll();
    }else{
        lcd->noAutoscroll();
    }
    emitValue<output_done>(ctx, 1);
}