Wenn dies dein erster Besuch hier ist, lies bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Du musst dich vermutlich registrieren, bevor du Beiträge verfassen kannst. Klicke oben auf 'Registrieren', um den Registrierungsprozess zu starten. Du kannst auch jetzt schon Beiträge lesen. Suche dir einfach das Forum aus, das dich am meisten interessiert.
Keep in mind, that you must not overload the microcontroller with work.
To not miss KNX telegrams from the bus, you have to trigger Knx.task() every 400 µs (yes, microseconds --> 0,0004s). So don't do blocking stuff in loop().
Good to know, thank you tuxedo. So instead of delay(); we can use the timer function no?
I was thinking if it's possible to use the mega2560 intead of the 32u4.
I mean we can have more serials quite more pins (but not the point) and more space and ram for sketch because the knx library takes a lot of ressources.
You can use mega2560, but current consuption is to high for KNX transceiver. So you have to use external voltge supply.
The next version of UUPS will have another chip (e.g. samd21)... it have more UARTs... but it's still future...
You can use SoftSerialon 32u4 for most of applications.
the content of the array indices must match to each other.
Any index in "eKnxDPT_Format" must have an corresponding index in "KnxDPTFormatToLengthBit" and "e_KnxDPT_ID" as well as "KnxDPTIdToFormat". Otherwise it will not work.
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar