blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.83k stars 1.38k forks source link

Display TEXT on blynk #429

Closed key5000 closed 6 years ago

key5000 commented 6 years ago

Hello,

This is my first post here as I'm new to Blynk/Github and also new to programming so please understand the newbie questions:

I have little program that will output number 7, 11 or 15 (depend on source).
Currently the Serial print can only display 7, 11, or 15.
How to translate or have Serial print to display Text like: Number 7 is for Test1 Number 7 is for Test2 Number 7 is for Test3

Here is the code:

_void AddressRegistry3201() { result = node.readInputRegisters(0x3201, 2); if (result == node.ku8MBSuccess) { ChargingStatus = node.getResponseBuffer(0x00) / 1.0f; if (debug == 1) { Serial.print("Charging Status %: "); Serial.println(ChargingStatus);
} else { rs485DataReceived = false; } } }

vshymanskyy commented 6 years ago

Please use our community forum