Hi, I want to use the LCD Widget to display text (changing message based on the value of some other variables - I’m using the LCD becaiuse there is no basic display widget that can display text string . . . Hint. Hint )
Does anyone know the HEX code for the widget off-black background color (shade?)?
A basic display widget (similar to Labeled Value Display) that can display text string would be very useful and address this issue. A basic text display widget would also allow the font to be the same as all other widgets. Not sure what purpose an LCD display style serves on modern mobile devices.
I popped your screenshot into Photoshop then used the eye dropper to sample the colour. I was as bit skeptical about the accuracy so tried updating the property in an LCD widget and it seemed to be right.
Your way is basically the same - but quicker, simpler and cheaper!
You can’t send text string to Value Display - only numerical data types. (or at least I haven’t been able to);
Basically I sample a sensor (scale that tells me how many cans of beer are left . . . ) then depending on the quantity display a different text string. EG <6 “Get More Beer!”; >24 “Whoo Hoo, More Beer!”; etc
This works OK on the LCD display, I just dont like the interface style.
Thnx, the answer was staring me in the face . . . Labeled Value widget (i’ve used this many, many times before . . .). Previous uses have been fixed text with a chnaging variable . . . thats what threw me off track . . . I want to send variable text. But I already have seperate functions for each text string, so just add the numerical value as well as the text and voila.
I’ve used two Labeled Value widgets here, the one on the left is a ‘Dummy’, I just changed the text in the app. When I get home I’ll consolidate the string and quantity into a single widget from the hardware side.
Thnx for the insight guys, its amazing how fresh sets of eyes changes the perpective!
Nice… I also have one of those LCD/keypad shields (must find a use for it)… and a renewed interest in merging “old” Arduino tech with Blynk into “new” IoT devices. As shown here:
Did you change this in the app or by using Blynk.setProperty(V0, “label”, “My New Widget Label”); ???
I have been trying tonight to change the LABEL on a Labeled Value Display widget by sing the Blynk.setProperty() function. it does work to a limited degree . . . however there is an inconsistency in the terminology between the docs and the app.
In the app (or widget properties) LABEL refers to the field where you enter the test string, /pin/ value etc.
However when you set the label property from hardware it changes te small widget descriptor test in the top left corner of the widget - not the section described (labeled as LABEL.
DOCS say you can change widget propertities, including “label”
So back to my original post . . . is there a way to change the LABEL (as described in the widget settings on the app), from hardware. Its easy to change in the app, but from hardware based on different conditions?