Android Question Smartphone and waeterstation ?

funkheld

Member
Licensed User
Hi good afternoon.
my English is not good.
I am 70 years old and would like to try your demo once.

But do not understand what I have to do everything. I have b4a, b4j and b4r.

what should I do now please do everything that it runs on my samrtphone?
the programs for b4a and b4j and b4r work.

I do not get a picture on the smartphone.

is this file right?
SFE_BMP180 for the arduino wemos?

Thank you.
greeting

https://www.b4x.com/android/forum/threads/esp8266-udp-bmp180-simple-weather-station.70243/#content
 

MarkusR

Well-Known Member
Licensed User
Longtime User
so u have incoming data via udp packets in this b4j weather app?

I do not get a picture on the smartphone.
picture?
 
Upvote 0

funkheld

Member
Licensed User
no not yet.
I first wanted to see the text on the smartphone, so make a connection to the Wewmos d1.

So it's only when the data is transferred?

Thank you.
greeting
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
it shows only the text if pressure change here.
if u remark the condition here u will see the labels.
B4X:
Public Sub StateChanged
    'If Starter.pressure <> 0 Then
        lblTemperature.Text = $"Temperature: $1.1{Starter.temperature}°"$
        lblPressure.Text = $"Pressure: $1.1{Starter.pressure} mBar"$
        lblTime.Text = $"Last read: $Time{DateTime.Now}"$
    'End If
End Sub
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
the B4J_Weather.zip seems just receive the udp packets and write a log in the logs window within the ide.
 
Upvote 0
Top