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...
it seems it is not possible to use a type variable in another type variable.
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)
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...
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?
GitHub Project with Arduino Library and some cool examples:
There are 3 Boards called "Cores":
- ESP32 Basic Core IoT...
The B4R rMQTT library is based on the well known Arduino PubSubClient library written by Nick O'Leary. It's a subset of this library - with the most important/used methods wrapped. I do have a scenario that requires some of the additional methods to be wrapped as well. Specifically:
Last December I made a request for support for the ESP32 Camera support. Well, I finally found the time to work on it myself and here's my initial attempt at implementing this with B4R. I'm using an ESP32CAM camera board with 4GB of PSRAM (like extended memory for the camera). I'm...
I give up. I can't wrap libraries. The data I get is nonsensical.
Can someone wrap either...
There's an under the table bribe to your paypal...
I am sending ASCII text lines via the serial-over-USB ESP32-PC link, and it was working great until I used NumberFormat. I have tried this code on two different ESP32 modules:
Private Sub AppStart
Dim B1() As Byte = "Packet #"...
For some reason the only DHT library that works with my module is the "simpleDHT" library in the arduino libraries running under the arduino ide. My question is how do i point B4R to this library instead of the B4R Dht library which i cannot get to work...I only get zeros..where the simpleDHT...
Here's a library using the Adafruit arduino library for SPI and I2C access to the PN532 RFID/Near Field Communication chip.
I've tested the SPI but not I2C. I've also tested all the Mifare functions. Not all the methods in the original library are exposed as at this point I'm not sure what they...
For the ESP8266 watchdog, can be very simple to use.
#Region Project Attributes
'These global variables will be declared once when the application starts.
'Public variables can...
This is about how to exchange AES256 encrypted messages incl. generated IV (initialization vector) between a ESP32 and B4x.
- the ESP uses AES/CBC/NoPadding. The data must be padded (must have a length which is a multiple of 16). I've used a length of 256 to to get there (instead of...
ich versuche ein Programm auf meine Entwicklungsbord Node MCU zu übertragen. Dies ist leider unter B4R (2.51) bisher erfolglos. Ich erhalte einen Fehler für den seriellen Port COM3. Mit der Arduino IDE (1.8.9) funktioniert einer Übertragung auf dem selben Port hingegen problemlos.
I'm working on how to use AES with an ESP32. Everything is fine except how to use/return strings (byte arrays/chars). There are some threads but I don't get it.
Private enc() As Byte ' In Globals
RunNative("InitAES",Null) ' Call
vielleicht verstehe ich es falsch, aber folgendes passiert bei mir:
Code wird compiliert und hochgeladen. Letzte Zeile im Protokollfenset:
********************* Programm startet ****************
Danach eine Fehlermeldung:
"Ein Fehler trat auf"
"Der Verzeichnisname ist ungültig"...