Translations:Zentrale Z21PG/26/en: Unterschied zwischen den Versionen
(Die Seite wurde neu angelegt: „Datei:Arduino_LocoNet_Master.png|thumb|160px|Arduino LocoNet Master und S88N Interface ([https://sourceforge.net/projects/pgahtow/files/Z21_mobile/DCC_Zentra…“) |
|||
| Zeile 1: | Zeile 1: | ||
[[Datei:Arduino_LocoNet_Master.png|thumb|160px|Arduino LocoNet Master und S88N Interface ([https://sourceforge.net/projects/pgahtow/files/Z21_mobile/DCC_Zentrale/Zentrale_LocoNet_Master.sch Eagle])]] | [[Datei:Arduino_LocoNet_Master.png|thumb|160px|Arduino LocoNet Master und S88N Interface ([https://sourceforge.net/projects/pgahtow/files/Z21_mobile/DCC_Zentrale/Zentrale_LocoNet_Master.sch Eagle])]] | ||
| − | With the integration of the LocoNet-Interface it is possible to connect the Arduino Z21 Central with a Uhlenbrock Intellibox, feedback/switch modules or with throttle devices like [[Special:MyLanguage/FredI|Fred]]. To use a Fred you must activate the LocoNet slot server. Note a connection to a Intellibox is only possible with a deactivated slot server, because the Intellibox provide it's own server! The [[Special:MyLanguage/Loconet|LocoNet Library]] uses to create the signal the timer 1 and on the Arduino MEGA timer 5. To activate the LocoNet-Interface: <br> | + | With the integration of the LocoNet-Interface it is possible to connect the Arduino Z21 Central with a Uhlenbrock Intellibox, feedback/switch modules or with throttle devices like [[Special:MyLanguage/FredI|Fred]]. To use a Fred you must activate the LocoNet slot server. Note a connection to a Intellibox is only possible with a deactivated slot server, because the Intellibox provide it's own server! The [[Special:MyLanguage/Loconet|LocoNet Library]] uses to create the signal the timer 1 and on the Arduino MEGA timer 5. To activate the LocoNet-Interface: <br /> |
| − | <code>#define LOCONET <br> #include <LocoNet.h> </code> <br> | + | <code>#define LOCONET <br /> #include <LocoNet.h> </code> <br /> |
| − | The Slot-Server can activated by <code>#define LnSLOTSRV </code>. If it is necessary you can send all loco informations with <code> #define TXAllLokInfoOnLN true </code>. This can be useful if you use a client software that communicates with the Z21 oder LocoNet. <br> | + | The Slot-Server can activated by <code>#define LnSLOTSRV </code>. If it is necessary you can send all loco informations with <code> #define TXAllLokInfoOnLN true </code>. This can be useful if you use a client software that communicates with the Z21 oder LocoNet. <br /> |
<u>Note:</u> The LocoNet-Interface just support functions from F0 to F8! | <u>Note:</u> The LocoNet-Interface just support functions from F0 to F8! | ||
Version vom 13. September 2018, 23:01 Uhr
With the integration of the LocoNet-Interface it is possible to connect the Arduino Z21 Central with a Uhlenbrock Intellibox, feedback/switch modules or with throttle devices like Fred. To use a Fred you must activate the LocoNet slot server. Note a connection to a Intellibox is only possible with a deactivated slot server, because the Intellibox provide it's own server! The LocoNet Library uses to create the signal the timer 1 and on the Arduino MEGA timer 5. To activate the LocoNet-Interface:
#define LOCONET
#include <LocoNet.h>
The Slot-Server can activated by #define LnSLOTSRV . If it is necessary you can send all loco informations with #define TXAllLokInfoOnLN true . This can be useful if you use a client software that communicates with the Z21 oder LocoNet.
Note: The LocoNet-Interface just support functions from F0 to F8!