1. rwblinn

    C/C++ Question [SOLVED] How to assign value to Class Member from local Callback

    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...
  2. rwblinn

    B4R Library rLEDController

    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...
  3. rtek1000

    Bug? B4X IDEs presents BUG by maximizing

    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...
  4. M

    B4R Question how to return ip from in line c

    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 =...
  5. Martin Larsen

    B4R Library BMP180 with ESP8266-01 support - Pressure and temperature

    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...
  6. janderkan

    B4R Library rVL53L0X library

    This wraps the VL53L0X library by Pololu. The library makes it simple to configure the sensor and read range data from it via I²C. Enjoy
  7. S

    Share My Creation Find used libraries (B4A, B4J,B4In B4R)

    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...
  8. S

    Italian B4R Esp8266 inserire dati in Database sqlite android

    C'è un modo per collegare un esp8266 al database sqlite in un cellulare? Vorrei inviare dei dati al cellulare tramite hotspot. Grazie
  9. Chris160179

    B4R Question Use a type variable in another type variable

    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...
  10. Peter Simpson

    🤗 My happy introduction to B4X

    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...
  11. M

    Wish Possible to create real classes in B4R (and create instances of that class)?

    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...
  12. Chris160179

    Wish Board Selector (auto select Board when hardcoded)

    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...
  13. Chris160179

    Wish M5Stack - ESP32 Support

    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...
  14. M

    Wish MQTT Enhancement - Include BeginPublish,EndPublish,Write methods

    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: boolean...
  15. M

    B4R Tutorial ESP32 Camera Picture Capture and Video Streaming! (Updated with code!)

    Hello! 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...
  16. Chris Tyrie

    Wish VEML6075 Library wrap

    I give up. I can't wrap libraries. The data I get is nonsensical. Can someone wrap either... https://github.com/adafruit/Adafruit_VEML6075 http://downloads.arduino.cc/libraries/github.com/sparkfun/SparkFun_VEML6075_Arduino_Library-1.0.4.zip There's an under the table bribe to your paypal...
  17. E

    B4R Question B4R NumberFormat string buffer overwrite or out-of-bounds?

    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 Serial1.Initialize(115200) Log("AppStart") Dim B1() As Byte = "Packet #"...
  18. J

    B4R Question Other libraries

    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...
  19. kolbe

    B4R Library rPN532 RFID reader/writer

    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...
  20. santook

    B4R Library Watch Dog Timer For ESP8266

    For the ESP8266 watchdog, can be very simple to use. #Region Project Attributes #AutoFlushLogs: True #CheckArrayBounds: True #StackBufferSize: 300 #End Region Sub Process_Globals 'These global variables will be declared once when the application starts. 'Public variables can...