Extract the value of atemp passed to the example via step in the main code

Может немного не по теме но

BLYNK_WRITE(V3) {
int atemp = param.asInt();
}

Можно вытянуть значение atemp переданное к примеру через step в основной код?

The value of atemp will be readable throughout your code if you make it a global variable instead of a local one.

E.G. put int atemp; up in your presetup and just use atemp = param.asInt(); in the Blynk Function

https://www.arduino.cc/reference/en/language/variables/variable-scope--qualifiers/scope/


Значение atemp будет читаемым на протяжении всего вашего кода, если вы сделаете его глобальной переменной вместо локальной.

НАПРИМЕР. положить int atemp; в вашей предварительной настройке и просто используйте atemp = param.asInt (); в функции Блинка