no-tone

vasily/tone/no-tone

Needed to complete the buzz
no-tone
@/no-tone
Needed to complete the buzz
PORTport
Set port with connected buzzer
UPDpulse
Сomplete the buzz on PORT
no-tone
PORT
UPD
To use the node in your project you should have the vasily/tone 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) {
    //auto inValue = getValue<input_IN>(ctx);
    //emitValue<output_OUT>(ctx, inValue);
    if (!isInputDirty<input_UPD>(ctx))
        return;
    auto port = getValue<input_PORT>(ctx);
    noTone(port);
}