struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
if (!isInputDirty<input_UPD>(ctx))
return;
auto gps = getValue<input_DEV>(ctx);
TinyGPSTime time = gps->time;
//auto hour = time.hour() + 10;
if (time.isValid())
{
emitValue<output_HOUR>(ctx,time.hour());
emitValue<output_MIN>(ctx, time.minute());
emitValue<output_SEC>(ctx, time.second());
}
}