knx/examples
Dennis Fleurbaaij f169e20f2f
opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121)
* Refactored the knx_facade a bit to make the auto-building of the global knx object and the buttonUp() ISR function opt-in. Also added the ability to quite easily attach another serial (in this case tested with Serial2 of an ESP32).

* Added visual studio code temp files to .gitignore

* Fix for missing build flag for WifiManager in ESP32_ip demo

* Added example in which we DIY build the KNX object and use ESP32's second UART to connect so that you can debug with the first one that's connected to USB.

* Minor platform cleanups to remove compilation warnings.

* ESP32 can't handle the defaulted 8192 byte EPROM. Next to that I needed to begin() the eprom lib in my setup() to get it to work and that requires knowing how much memory KNX will use. This fix makes the default more conservative and moves it's definition to the .h file so that other files can always use it as well.

* After comments from thelsing, inverted the logic. The default global knx object is now opt-out by defining KNX_NO_AUTOMATIC_GLOBAL_INSTANCE. See the knx-demo-diy project for an example.
Minor syntactic cleanups.

* Removed hardwareserial from facade (detail which was not needed)
Placed facade constructors together
Minor syntactic cleanup

* Fixed knx-cc1310 where own button routine was calling now private internal knx facade variable.
Renamed files in knx-demo-diy
Minor syntactic stuff

* Added gitattributes for binary knxprod files
2021-02-05 15:57:45 +01:00
..
knx-bme680 Update knx-bme680.ino (#36) 2019-09-14 18:23:00 +02:00
knx-cc1310 opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121) 2021-02-05 15:57:45 +01:00
knx-demo opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121) 2021-02-05 15:57:45 +01:00
knx-demo-coupler Fix: "bool BauSystemBCoupler::configured()" (#112) 2020-12-10 19:17:45 +01:00
knx-demo-diy opt-out global KNX, ability to DIY construct knx object, minor cleanups (#121) 2021-02-05 15:57:45 +01:00
knx-hdc1008 Bugfix, change debug uart not possible (#33) 2019-09-09 20:10:56 +02:00
knx-linux Add support for CC1310 platform based on SimpleLink SDK (#94) 2020-11-10 21:52:38 +01:00
knx-linux-coupler Add support for CC1310 platform based on SimpleLink SDK (#94) 2020-11-10 21:52:38 +01:00
knx-pzem004 Add: 'Demo example for PZEM004t-V3 (#120) 2021-01-21 18:41:55 +01:00
knx-sonoffS20 Datapoints ending in .0 are invalid (#91) 2020-09-29 12:46:09 +02:00
knx-usb Fix: "bool BauSystemBCoupler::configured()" (#112) 2020-12-10 19:17:45 +01:00
knxPython fix path for Readme.md 2020-11-11 22:48:04 +01:00