Closed fenyvesi closed 1 year ago
I can see the serial output. Sorry. Is there a chance to work with Arduino?
The library is arduino based, it just uses platformio as the ide and build environment. Take some time to learn the platformio / VSC ide, it is vastly superior to the arduino ide, and greatly simplifies development.
am thinking the issue you saw with platformio may be related to windows, as I do my coding on Mac.
Thank you.
The message "Invalid library" in Arduino IDE appers because there is no library.properties file I create one and the message disappeared
name=rtl_433_ESP version=0.3.2 author=Northern Man NorthernMan54 maintainer=Northern Man NorthernMan54 sentence=rtl_433 port to ESP32 paragraph=This is an attempt at creating an Arduino library for use on ESP32 boards with a CC1101 transceiver or SX127X Transceivers with the device decoders from the rtl_433 package. And be available for use with openMQTTGateway as an available module. category=Communication url=https://github.com/NorthernMan54/rtl_433_ESP architectures=esp32 includes=rtl_433_ESP.h
May be my fault... Arduino Win10, v1.8.12:
PlatformIO, I havn't used before. (Win10):
platformio.ini is adjusted (CC1101, libraries, com port, speed) [platformio] default_envs = esp32_cc1101 src_dir = . [libraries] arduinolog = https://github.com/1technophile/Arduino-Log.git#d13cd80 arduinojson = ArduinoJson@5.13.4 rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git
.... monitor_port = COM8 monitor_speed = 115200 upload_port = COM8 upload_speed = 921600
Build, 4 problems:
include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\x\Documents\PlatformIO\Projects\rtl_433_ESP\example\OOK_Receiver\OOK_Receiver.ino). ( #include)
cannot open source file "stdint.h" (dependency of "rtl_433_ESP.h") cannot open source file "string.h" (dependency of "ArduinoJson.h") cannot open source file "inttypes.h" (dependency of "ArduinoLog.h")
On the contrary it says that it was successfull and I can upload it to the board. I inserted a Serial.println() statement after opening serial, but I can't see anything, the led blinks.
Thank you in advance.