Hi,
I read several posts and studied several examples but I can't connect my ESP8266 D1 mini to the broker.
Sub Process_Globals
Private Broker As MqttBroker
Private Client As MqttClient
Private ESPTopic As String = "ESP8266_1"
Private Name As String = "SKIKK_1"
End Sub
Sub...
Sub Process_Globals
Public Serial1 As Serial
Private hours, minutes, seconds As Int = 0
Dim alarmhours, alarmminutes, alarmseconds As Int = 0
Private timer1 As Timer
Private lcd As LiquidCrystal
Dim pa0, pa1, pa2, pa3, buzzerpin As Pin
Dim hour_changed...
I have a problem with the code below that is supposed to run on an Ardunio Nano with old-Bootloader.
It gives me loads of error messages. The pins are correct. I tested it under the Arudino IDE.
Here is the code and the error messages. The Libs i use ist Rsoftserial in the Lib-Manager...
Hi.
i used https://www.b4x.com/android/forum/threads/rasynctcp-on-esp32-respasynctcp-on-esp8266.138893/
but when client connected OnConnect sub not raised.
OnDisconnect works fine.
what is the problem?
hello dears and B4X team.
We all know that B4X has improved dramatically over the years...
But the main problem is that the B4X developer community is very small and the number of developers is small, perhaps due to lack of advertising!
The B4X has great potential, but I don't think anyone knows...
i want to program hex to 10 board and now i must click on run and compile software every time and it take 1 minutes .
i wish b4r have a button to just program to boards not compile again.
thanks
I was just trying to make my first project with B4R. Also, I was a newbie in microcontroller programming.
In this my first project, I make a dashboard in Node-RED to display a value from the ESP32 and to control the blue LED on ESP32. The value had been successfully sent, but until now the...
EDIT: Solved = See post #6. Note: Removed the attachement as the reworked B4R library will be shared in the B4R Libraries forum.
This is question is related to the partial wrapping of the ESP32 lib Legoino to B4R lib rLegoinoBoost.
The lib Legoino requires callbacks to access device property...
rLEDController is an open source B4R B4XLib for controlling multiple LEDs.
The LEDController enableds to control up-to 10 LEDs individually, like turn ON/OFF, turn on for period of time or number of timer ticks.
Background
The background for developing this module, is to control a number of...
Initial condition:
- Windows 10 x64 (20H2)
- Have two displays (Extended mode)
- The IDE window sized to show a part on each screen
Problem:
- When the IDE window is maximized, a portion of the window remains on the second screen
Verification:
- This problem does not occur with other programs...
how can i return IPAddress from in line c.
this is my code.not work
Sub Process_Globals
Dim ip() As Byte
End Sub
Sub get_ip (name() As Byte)
ip=RunNative("getip", name)
End Sub
#If c
#include <ESPmDNS.h>
void getip(B4R::Object* o)
{
B4R::Array* b =...
This is a modified version of Erel's BMP180 library with support for ESP8266-01.
The tiny ESP-01 board does support I2C but the SDA and SCL pins are different from the bigger boards' so the standard library does not work. You will not get a reading from the sensor.
Instead, this library...
Hello,
Sometimes you want to clean the additionnal folder, but are you sure a library is used or not in your projects ?
This app lists all the libraries found in your projets.
Select a folder, check project's type and you got it!
In the left listview are the libraries found.
In the right...
Hello everybody,
it seems it is not possible to use a type variable in another type variable.
Like this:
Type WLAN_Type (IP As String, SSID As String, Password As String, Chanel As Byte, BSSID As String)
Type Settings(Resets As UInt, Summertime As Boolean, WLAN As WLAN_Type)
Public...
Hmm, I see that Anywhere Software has created this new section in the forum, so I've decided to add my actual B4X story.
WARNING: This is going to be a loooooooooooong read :cool:
I've always enjoyed creating software from the early days of the humble 48k ZX spekky, to machine coding my 68000...
You can create class modules in B4R but they act as singletons - I can't define a class module say "MQTTBUNDLE" and then create instances of that class. I know the whole thing about low resources and all that but is this something that might be possible in the future? I'm using Types for this...
Hello Erel,
is it possible to save the selected board like ESP8266 in the project?
So that the "Board Selector" is set automaticly?
When i work with an ESP8266 board an load a new project with an ESP32, the "Board Selector" stays on the last selection and didn´t change with the loaded project...
Hello every Body,
is there someone how likes to write a Library or Wrapper for the M5Stack Board?
Official Site:
https://m5stack.com/
GitHub Project with Arduino Library and some cool examples:
https://github.com/m5stack/M5Stack
There are 3 Boards called "Cores":
- ESP32 Basic Core IoT...