<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.mobaledlib.de/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>MobaLedLib Wiki</title>
        <description></description>
        <link>https://wiki.mobaledlib.de/</link>
        <lastBuildDate>Thu, 23 Apr 2026 04:36:07 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.mobaledlib.de/_media/logo.png</url>
            <title>MobaLedLib Wiki</title>
            <link>https://wiki.mobaledlib.de/</link>
        </image>
        <item>
            <title>release_version</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/release_version</link>
            <description>
&lt;p&gt;
Revision History:
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Ver.: 3.5.0 05.11.25:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Features
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Unterstützung der RP2040 Raspberrry PICO Plattform
  beschleunigt das Laden der Anwendung
  ermöglicht die Auswahl von LED-Kanälen mit Multiplexer
  LED2Var verwendet lange Adressen auf der ESP32/PICO Plattform
  unterstützt deutsche Namen bei der USB-Geräteerkennung&lt;/pre&gt;

&lt;p&gt;
Fehlerbehebungen
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  behebt Export in Datei Problem &amp;quot;Fehler... beim Speichern einer MLL-Datei (.pgf)&amp;quot; siehe https://forum.mobaledlib.de/viewtopic.php?t=134
  behebt Rebuild fehlgeschlagen - Tastendruck erforderlich siehe https://forum.mobaledlib.de/viewtopic.php?t=182
  behebt Fehlermeldung beim Erstellen einer PushButton Funktion siehe https://forum.mobaledlib.de/viewtopic.php?t=193
  behebt Fehlermeldung bei Zufallsbefehlen siehe viewtopic.php?t=161
  behebt das Problem, dass der Simulator nicht startet&lt;/pre&gt;

&lt;p&gt;
Änderungen
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Mailadresse auf Forum geändert&lt;/pre&gt;

&lt;p&gt;
Features
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  support RP2040 Raspberrry PICO platform
  speed up application loading
  allow led channel selection with multiplexer
  LED2Var uses long addresses on ESP32/PICO platform
  support German names in USB device detection&lt;/pre&gt;

&lt;p&gt;
Bugfixes
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  fix export to file issue &amp;quot;Error... when saving an MLL file (.pgf)&amp;quot; see https://forum.mobaledlib.de/viewtopic.php?t=134
  fix rebuild failed - Tastendruck erforderlich see https://forum.mobaledlib.de/viewtopic.php?t=182
  fix Error message when creating a pushbutton function see https://forum.mobaledlib.de/viewtopic.php?t=193
  fix Error message for random commands see https://forum.mobaledlib.de/viewtopic.php?t=161
  fix issue that simulator is not starting&lt;/pre&gt;

&lt;p&gt;
Changes
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  mail address changed to forum&lt;/pre&gt;

&lt;p&gt;
&lt;strong&gt;Ver.: 3.4.0 24.04.25:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Features
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  ESP32: Parallel output of LED data on up to 6 channels
  change FastLED to a stable version 3.9.12 coming from MobaLedLib github repository
  change source for library ATTinyCore:avr to MobaLedLib github repo
  support of the new color test
  support of the ESP32 1,3&amp;quot; OLED display
  add MobaLedLib RGB-LED ring macro
  rp2040 support up to 8 parallel LED channels
  improve determination of OneDrive local path
  optional display of MobaLedLib time/LDR values on the display
  improved selection of old ProgGenerator filename when updating to new release/beta
  on &amp;quot;Import from old program&amp;quot; the Arduino type setting is retained
  acceleration of ESP32 start time
  add SI_LocalVar to predefined system variables
  add replacement of &amp;quot;$&amp;quot; in macro arguments         see https://www.stummiforum.de/t165060f7-MobaLedLib-LEDs-Servos-Sound.html#msg2643729
  force a rebuild if ALT key is pressed
  empty compiler cache if last ATMega build failed  see https://www.stummiforum.de/t222466f195-MobaLedLib-Arduino-Upload-geht-nicht.html#msg2649211
  update rp2040 board version to 4.4.0
  improvement of overall PlatformIO build process
  support PlatformIO build for rp2040
  experimental support of ESP32 board version 2.0.17&lt;/pre&gt;

&lt;p&gt;
display of MobaLedLib time/LDR:
&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/effekte_mll#esp32_erweiterung&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/anleitungen/effekte_mll#esp32_erweiterung&quot; rel=&quot;ugc nofollow noopener&quot;&gt;ESP32 Erweiterungen&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Bugfixes
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  ATMega: bug with wrong send buffer size for SEND_INPUTS fixed
  fix detection of first RGB_Heartbeat line while import
  &amp;quot;ESP32 and hieroglyphics for MLL time&amp;quot; see To-Dos#21
  unnecessary memory consumption due to extensions  see To-Dos#20
  error handling didn&amp;#039;t work when downloading libraries/boards
  upgrade PlatformIO to 6.9.0 to fix build problem with DMX512
  fix problem with StartLedNumber update on invisible sheets
  improvement of start LED calculation in include sheets
  remove wrong platformIO beta warning
  fix problem with wrong MP3_Command value MP3_STOP which should be MP3_ADVERT_STOP
  fix problem with PatternConfigurator icons&lt;/pre&gt;

&lt;p&gt;
Changes
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Selectrix pin definition changed to SX_SIGNAL_PIN 13 and SX_CLOCK_PIN 4 to support both ESP32 Adapter and the new ESP32 main board
  when using PlatformIO don&amp;#039;t turn compile window to red in case of build errors to keep colored error output
  changed version string schema to provide platform name&lt;/pre&gt;

&lt;p&gt;
Neuerungen
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  ESP32: Parallele Ausgabe von LED-Daten auf bis zu 6 Kanälen
  Änderung von FastLED auf eine stabile Version 3.9. 12 aus dem MobaLedLib github Repository
  Änderung der Quellen für die Bibliothek ATTinyCore: avr zu MobaLedLib github repo
  Unterstützung des neuen Farbtests
  Unterstützung des ESP32 1, 3&amp;quot; OLED Display
  MobaLedLib RGB-LED Ringmakro hinzugefügt
  rp2040 Unterstützung mit bis zu 8 parallelen LED Kanälen
  Verbesserung der Ermittlung des lokalen OneDrive Pfades
  optionale Anzeige der MobaLedLib Zeit/LDR Werte auf dem ESP32-Display
  verbesserte Auswahl des alten ProgGenerator Dateinamens beim Update auf neue Beta
  bei &amp;quot;Import aus altem Programm&amp;quot; wird die Arduino Typ Einstellung beibehalten
  Beschleunigung der ESP32 Startzeit
  SI_LocalVar zu vordefinierten Systemvariablen hinzugefügt
  Ersatz von &amp;quot;$&amp;quot; in Makroargumenten hinzugefügt siehe https: //www. stummiforum.de/t165060f7-MobaLedLib-LEDs-Servos-Sound.html#msg2643729
  erzwinge einen Rebuild, wenn die ALT-Taste gedrückt wird
  leere Compiler-Cache, wenn der letzte ATMega-Build fehlgeschlagen ist siehe https://www.stummiforum.de/t222466f195-MobaLedLib-Arduino-Upload-geht-nicht.html#msg2649211
  aktualisiere rp2040-Board-Version auf 4.4.0
  Verbesserung des gesamten PlatformIO-Build-Prozesses
  Unterstützung von PlatformIO-Build für rp2040
  experimentelle Unterstützung der ESP32-Board-Version 2.0.17&lt;/pre&gt;

&lt;p&gt;
Optionale Anzeige der MobaLedLib Zeit/LDR:
&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/effekte_mll#esp32_erweiterung&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/anleitungen/effekte_mll#esp32_erweiterung&quot; rel=&quot;ugc nofollow noopener&quot;&gt;ESP32 Erweiterungen&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Fehlerbehebungen
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  ATMega: Fehler mit falscher Sendepuffergröße für SEND_INPUTS behoben
  Erkennung der ersten RGB_Heartbeat-Zeile beim Import behoben
  &amp;quot;ESP32 und Hieroglyphen für MLL-Zeit&amp;quot; siehe To-Dos#21
  Unnötiger Speicherverbrauch durch Erweiterungen siehe To-Dos#20
  Fehlerbehandlung funktionierte nicht beim Download von Bibliotheken/Boards
  Upgrade von PlatformIO auf 6.9. 0 um Build-Problem mit DMX512 zu beheben
  Problem mit StartLedNumber-Update auf unsichtbaren Blättern behoben
  Verbesserung der Start-LED-Berechnung in Include-Blättern
  falsche PlatformIO Beta-Warnung entfernt
  Problem mit falschem MP3_Command-Wert MP3_STOP behoben, der MP3_ADVERT_STOP sein sollte
  Problem mit PatternConfigurator-Icons behoben&lt;/pre&gt;

&lt;p&gt;
Änderungen
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Selectrix-Pin-Definition auf SX_SIGNAL_PIN 13 und SX_CLOCK_PIN 4 geändert, um sowohl den ESP32-Adapter als auch das neue ESP32-Mainboard zu unterstützen
  bei Verwendung von PlatformIO wird das Kompilierfenster bei Build-Fehlern nicht rot, um die farbige Fehlerausgabe beizubehalten
  Versions-String-Schema geändert, um den Plattformnamen anzugeben&lt;/pre&gt;

&lt;p&gt;
&lt;strong&gt;Ver.: 3.3.2 19.12.23:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Features
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  LNet support for Arduino platform (main board &amp;gt;= 1.8.0 mandatory)
  New macros: Set_LEDNr, CopyNLEDs, Include, SingleLedSignal, SingleLedSignalEx
  New icons
  Support of input type &amp;quot;feedback&amp;quot;, process CAN messages from ATTiny_CAN_GBM module
  Store_Status: support SwitchB, extend max. InCnt to 63
  Support of DCC/CAN/LNet momentary buttons (GEN_BUTTON_RELASE mode are now setable in config sheet)
  Experimental support of MobaLedLib stored in OneDrive folder
  ATMega328PB support&lt;/pre&gt;

&lt;p&gt;
Enhancements
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  fix SwitchC issue with ESP32
  fix issue that AVR build fails caused by vbcr in LEDs_Autoprog.h -&amp;gt; replace by vbcrlf
  add missing macros InCh_to_LocalVar, InCh_to_LocalVar1 and Bin_InCh_to_TmpVar1 to sheet Lib_Macros
  fix #10763: include marco counts LEDNr wrong
  fix #10159: wrong line endings in fastbuild.cmd
  ensure that included sheet uses same protocol as the main sheet&lt;/pre&gt;

&lt;p&gt;
&lt;strong&gt;Ver.: 3.2.1 09.08.22:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Features
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  LED simulator
  Selectrix support for ESP32
  ColorPicker for Const Makro
  Macro RGB_Heartbeat_Color
  MobaLedLib Extensions support
  &amp;quot;Virtual pin&amp;quot; feature
  Retrigger support for patterns using GOTO mode
  DCC signal state signaled with ESP32 onboard LED&lt;/pre&gt;

&lt;p&gt;
Enhancements
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  fix CAN baudrate issue with ESP32 V1 chips
  fix ESP32 build issue with non-default Arduino home directory
  fix issue in case Arduino home directory doesn&amp;#039;t exist
  add missing macros InCh_toTmpVar1 and BinCh_toTmpVar1
  fix RandMux bug on ESP32
  fix Set_ColTab bug on ESP32
  fix issue that Analog Pattern flags were ignored in Goto mode&lt;/pre&gt;

&lt;p&gt;
&lt;strong&gt;Ver.: 3.1.0 28.11.21:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Features
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  New TreeView based macro selection dialog with grouping and icons
  Add feature to control sound modules attached to the mainboard
  Add ServoMP3 feature - sound modules are attached to the servo board and controlled via serial line
  Add feature Pin_Alias
  Add #define SWITCH_DAMPING_FACT to the Lib_Macros
  Add possibility to scroll with the mouse in the description box of the TreeView dialog
  UserForm_Other is resizable now&lt;/pre&gt;

&lt;p&gt;
Enhancements
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Show please wait screen when loading/updating the tree view
  The macro filter is also activated by typing letters in the list box
  Remove NmraDCC library installation workaround as version 2.0.10 fixes the ESP32, no more need to install from private repository
  Add sheet Platform_Parameters containing all platform dependent settings
  Add Raspberry Pico Mainboard Leds, Mainboard Buttons, PushButtons
  Add experimental Raspberry Pico support
  Disable Autodetect when changing CPU type to ESP32 or Pico
  Change width of Form and new pos for Buttons at Form Other
  Splited the installation of several board packages into separate calls because otherwise the installation fails.
  Update the filter if a row is selected which already contains a macro to show the macro
  Improved the scrolling in the userform others
  Added a scroll bar to description in the TreeView dialog
  As ESP32 is no longer experimental set library U8g2 to mandatory
  Motorola II protocol for interface Arduino
  Allow relative path in ImageBoxAdder
  Reload all Icons when running GenReleaseVersion
  Support of BETA update directly from github
  Add the build date as a tooltip to the version information cell
  Add Excel version check
  Add library external command processing&lt;/pre&gt;

&lt;p&gt;
Bugfixes
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Solved problem if the user has no additional board installed. In this case the &amp;quot;packages&amp;quot; directory has to be created in C:\Users&amp;lt;Name&amp;gt;\AppData\Local\Arduino15\
  Adapted the cmd files to work with 32 bit windows (Arduino is installed to &amp;quot;Program Files&amp;quot; and not to &amp;quot;Program Files (x86)&amp;quot;)
  Corrected start focus and tab index of the Userform_Other (Prior sometimes the &amp;#039;Abort&amp;#039; button had the focus)
  Added &amp;quot;On Error Resume Next&amp;quot; to prevent crash with Office 365 in EnableDisableAllButtons()
  Replaced &amp;quot;.Add2&amp;quot; by &amp;quot;.Add&amp;quot; in Sort_by_Column because this new function is not supported by Office 365
  (Hopefully) prevent formatting the &amp;quot;Start LEDNr&amp;quot; as date by setting the NumberFormat to &amp;quot;General&amp;quot; when importing files.
  Fixed bug when loadimg the Excel File. The Pattern Configurator icons in the lines have been deleted
  Fix issue on Scroll in UserForm_Other (focus lost)
  Prevent crash when the TreeView is closed with the &amp;#039;x&amp;#039; button and reopened again
  Fix some typos in start page text
  Fix issue that load of old configuration was not started while a Beta update
  Fix issue #6894 BetaUpdate won&amp;#039;t run with UserDir containing blank chars
  Fix LED_to_var - Led_Offs to 31. See #6899
  Fix VB6 FindWindow Issue #6914
  Fix another VB6 Issue in Userform_RunProgram
  Workaround for Excel 2007 isNumericBug
  Add missing EspSoftwareSerial library
  Fix Platform_Parameters: with AM328 SPI Pins are only usable if no CAN module is in use&lt;/pre&gt;

&lt;p&gt;
Ver.: 3.0.0 21.04.21:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Release support of ESP32 and up to 49152 single LEDs
  Support controling DMX512 devices (up to 300 per channel)
  Bootloader Update and &amp;quot;New Bootloader full Mem&amp;quot;
  Up to nine independent LED channels
  Search function in macro selection
  TinyUniProg improvements
  Fixed problem scaling the house dialog for small screens (1366x768)
  Added seven new railway signal macros
  Ability to switch the LED portocol to WS2811 where the Red and Green channel are swapped
  Faster method to download and execute the color test program
  Use only one column for start led number display, may be configured on config page
  Add Macro #define COMMANDS_DEBUG traces DCC messages
  Corrected the &amp;quot;fire&amp;quot; macro
  Fix issue where directory names contain blanks
  Fix DCC offset problem when sending simulated DCC commands
  Speed up ResetTestButtons function
  And many, many more features and bugfixes, ... Let yourself be surprised!&lt;/pre&gt;

&lt;p&gt;
Ver.: 2.1.1 14.11.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Removed the old Debug functions to simulate DDC commands TEST_PUSH_BUTTONS(), TEST_TOGGLE_BUTTONS() and TEST_BUTTONS_INCH()
  Experimental support for ESP32 added&lt;/pre&gt;

&lt;p&gt;
Ver.: 2.1.0 02.11.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  8% additional configuration memory by changing the reserved size of the fast bootloader from 2K to 512 byte
  Corrected the support for 64 time entries in the pattern_Configurator. Unfortunately the prior changes have been made in a wrong worksheet and not in the Main sheet =&amp;gt; They have been lost when the release version was build ;-(
  Corrected the importing of data from old Prog_Generator
  Define at least 20 LEDs to be able to test them with the color test program
  Disabling the Event which is called when Enter is pressed when the workbook is closed. Hopefully this solves the problem that the Pattern_Config is opened sometimes unintentionally
  Prevent crash if a wrong formula is entered like &amp;quot;-Test&amp;quot;
  Updating the arduino type in the &amp;quot;Options&amp;quot; dialog if the USB Port detection is started
  Charlie_Buttons and Charlie_Binary control 3 channels (RGB) instead of 2 (GB)
  Corrected the maximal time for the Blinker function by adding PF_SLOW
  Disable the mouse scroll function for Office &amp;lt;= 2007 because here excel generates a crash&lt;/pre&gt;

&lt;p&gt;
Ver.: 2.0.0 18.10.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Support for the new buffer gate on mainboard version 1.7 added&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 K 16.10.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Don&amp;#039;t gray out the other rooms in the House/Gaslight dialog. Instead the important buttons use bold font
  User interface:
      Corrected the entering of selextrix data and the position of the USB simulation buttons
      Corrected the &amp;quot;Dialog&amp;quot; Button. The &amp;quot;Type selection&amp;quot; dialog was called twice in DCC mode.
  Disabled the &amp;quot;ENABLE_CRITICAL_EVENTS_WB&amp;quot; to hopefully get rid of the crash which is generated if lines are deleted in the Pattern_Configurator. By disabling this events the LED numbers are not updated if lines ade hidden or shown again.
  Corrected the NEON_DEF2D entry. Channel 1 was used instead of channel 2. This caused the occupation of a new RGB channel if NEON_DEF1D and NEON_DEF2D was used in a sequence
  Improve the detection probability in &amp;quot;DetectArduino()&amp;quot;. Prior the arduino was not always detected at the first trial.
  Corrected the error detection for the ATtiny upload
  Increased the number of Time entries from 30 to 64 and corrected the entries 24-30
  New Charliplexing software which supports the 64 time channels&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 J 11.10.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  The Mainboard_LED function also acceppts the arduino pin numbers D2-D5, D7-D13 amd A0-A5&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 I 10.10.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Possibilitiy added to ignore problems with the baud rate detection&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 H 10.10.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Improved the loading of MLL_pgf files&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 G 10.10.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Added additional pins to the Mainboard_LED function. Now nearly every pin could be used as LED pin (New channels 0, 5-16).
  New method &amp;quot;LED_to_Var()&amp;quot; to set variables controlled by the LED values.
  Improved the &amp;quot;Mainboard_Hardware_Test.MLL_pgf&amp;quot;. Now the mainboard could be tested without the PushButton4017 board.&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 F 07.10.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Programming of the fast bootloader added
  Jürgen has added &amp;quot;Update_Start_LedNr&amp;quot; to the end of Read_PGF_from_String_V1_0() because other wise NUM_LEDS is 0
  New function &amp;quot;Mainboard_LED(MB_LED, InCh)&amp;quot; which could be used to use the mainboard LEDs as status LEDs
  Added macro &amp;quot;WeldingCont()&amp;quot; which continuously flickers while the input is active.
  Don&amp;#039;t use the Heartbeat LED at PIN A3 if the CAN bus is used AND the SwitchB or SwitchC is used.
  Generate an error message if Mainboard_LED(4..) is used together with SwitchB or SwitchC.
  Created an example file to test the MobaLedLib main board: &amp;quot;Mainboard_Hardware_Test.MLL_pgf&amp;quot; This file is stored in the directory &amp;quot;Prog_Generator_Examples&amp;quot; which is copied to the library destination at startup.
  Added DayAndNightTimer which could be used with then Scheduler function&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 E 07.08.20?:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Deletted &amp;gt;100000 columns in the DCC sheet which slowed down the loading of .MLL_pfg files
  Added a status display when loading the .MLL_pfg files
  Don&amp;#039;t read/save the &amp;quot;Examples sheet from/to .MLL_pfg file&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 D 04.08.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Limit the maximal servo value to 210 (Old 220) to avoid promlems with measurement errors at 2kHz
  Additional Delay and check if the old directory has been deleted when updating the Beta version&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 C 28.07.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Corrected Servo programming (Flash was erased when setting the Reset pin as output)
  Corrected decimal separator problem when loading pattern examples
  New macros for servo with SMD WS2811 Herz_BiRelais_V1...&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.6 22.07.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Preview LEDs in the Pattern_Configuarator could be moved on top of a picture or under a transparent picture (by Misha)
  Speedup building and uploading of the Arduino program 10 sec. instead of 23 sec. (by Juergen)&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.5 15.06.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  The versions 1.0.2 - 1.9.4 are not released test versions.
  Since there are a huge number of changes since version 1.0.1 all details are described here: https://www.stummiforum.de/viewtopic.php?f=7&amp;amp;t=165060&amp;amp;sd=a&amp;amp;start=2410&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.9.4 14.06.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Added Misha&amp;#039;s Multiplexer to the Prog_Generator&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.7 07.06.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Corrected the LED Animation, the &amp;quot;Start LedNr&amp;quot; in combination with &amp;quot;HerzHerz_BiRelais()&amp;quot;&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.6 06.06.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Added Mishas LED Previev and Mux functions to the Pattern_Configurator
  Using Harolds new pyProgGen_MobaLedLib
  Using the new USB port detection also in the Pattern_Configurator&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.5 31.05.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Automatically install all libraries
  Using the Sketchbook path for the working directory&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.4 23.05.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Automatically detecting COM port the Arduino is connected to
  Improved the HV_Reset() in the Tiny_UniProg according to Juergens tipp
  New macros InCh_to_TmpVar1() and Bin_InCh_to_TmpVar1() which start with state 1 instead of 0
  New macros for Servos and Herzstueck polarisation
  New Push Button macros which read DCC and hardware buttons
  Added macros Andreaskreuz with lamp test&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.3 01.05.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Test of additional LED channels and EEPROM Storage&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.2 18.04.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Test of switch and variables&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.1 17.01.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Corrected the upload in version 1.0.0 because some files have not been update ;-(&lt;/pre&gt;

&lt;p&gt;
Ver.: 1.0.0 16.01.20:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  New Charlieplexing program for the Servo_LED module which could be used to drive Viessmann and other &amp;quot;Multiplexed&amp;quot; light signals
  Configuration upload from the Pattern_Configurator over the LEDs &amp;quot;Bus&amp;quot; to the Charlieplexing module. The module is configured on the railway layout.
  Direct programming support for the Tiny_UniProg module from excel (One click to install the software)
  Flashing of the software for the Charlieplexing Module from excel (One click to install the software)
  Enhanced Color Test program with a lot of new features
  New Black and White TV simulation (configurable)
  Simulation of defective neon lights added
  1001 of other small changes and improvements&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.9.3 08.12.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Engagement of Pattern_Configurator and Program_Generator =&amp;gt; Easy exchange between the tools
  CheckColors function: Live view of the colors and brightens of the LEDs
  Existing lines could be edited in the Prog_Generator&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.9.2 30.10.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Corrected the XPattern function (used in the Light signals)
  Corrected the Excel Programs&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.9.1 06.10.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Corrected the functions Flash(), RandWelding() and PushButton_w_LED_0_? in the Prog_Generator
  Corrected single LEDs in the House() and GasLights() function.&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.9.0 27.09.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  New Excel User interface to configure the LEDs
  Single LED functions for the House() macro
  Macros for Light signals, Construction lightning, ... added to the library&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.8.0 16.07.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Added new assembly document for the main PCB from Alf and Armin&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.7.9 09.07.19: Moved the Pattern_Configurator to the „extras“ directory and updated the excel version.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Nice graphical display of the LED brightness and the Goto mode
  Reduced the size by extracting the examples
  Added a menu to save/load/delete example sheeds
  User interface is automatically switched to English (Example descriptions still German)&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.7.8 09.04.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Added examples
      00.Overview
      25.Analog_Push_Button&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.7.7 17.02.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Added Support for Sound modul JQ6500
  Corrected the random mode of the Counter() function
  Improved the serial input debug function
  Moved the Heartbeat function in own H-file&amp;quot;
  12.03.19:
      added ButtonNOff() macro&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.7.5 19.01.19:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  Added examples:
      Burning house (Push button action with fire, smoke, sound and fire truck). Shown in the video: https://vimeo.com/311006857
      DCC (Digital Command Control) decoder example with two Arduinos. Shown in the video: https://vimeo.com/311996452
  Added function Bin_InCh_to_TmpVar() and RGB_Heartbeat2()
  Added zip file with the RGB LED distribution PCBs
  Improved the fire algorithm
  Corrected the binary mode of the counter (CF_BINARY)
  Corrected the initialization of the Pattern function if the Goto mode is used.
  Updated the English documentation to the same state like the German.
  Using the correct version of the Pattern_Configurator.xlsb&lt;/pre&gt;

&lt;p&gt;
Ver.: 0.7.0 20.12.18:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  First released version&lt;/pre&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 10 Nov 2025 16:04:25 +0000</pubDate>
        </item>
        <item>
            <title>patternconfigurator</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/patternconfigurator</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;der_pattern_configurator&quot;&gt;Der Pattern Configurator&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_important plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Diese Anleitung befindet sich aktuell noch in Bearbeitung, bietet aber zum jetzigen Zeitpunkt schon eine große Hilfe.&lt;br/&gt;

 — &lt;em&gt;&lt;a href=&quot;mailto:&amp;#114;&amp;#97;&amp;#105;&amp;#108;&amp;#121;&amp;#55;&amp;#52;&amp;#64;&amp;#103;&amp;#109;&amp;#120;&amp;#46;&amp;#100;&amp;#101;&quot; class=&quot;mail&quot; title=&quot;&amp;#114;&amp;#97;&amp;#105;&amp;#108;&amp;#121;&amp;#55;&amp;#52;&amp;#64;&amp;#103;&amp;#109;&amp;#120;&amp;#46;&amp;#100;&amp;#101;&quot;&gt;Michael&lt;/a&gt; 2022/04/10&lt;/em&gt;
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Der Pattern Configurator&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;der_pattern_configurator&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-239&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;was_ist_der_pattern_configurator&quot;&gt;Was ist der Pattern_Configurator?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Der Pattern_Configurator ist neben dem Programm Generator das vielleicht mächtigste Werkzeug der MobaLedLib. Mit dem Pattern_Configurator lassen sich beliebige Beleuchtungsmuster erstellen. Dadurch können neben den vorhandenen Lichteffekten des Programm Generators beliebige neue Effekte erstellt werden. Wenn man z.B. ein spezielles Blaulicht, ein spezielles Lichtsignal, eine bestimmte Abfolge von Soundbefehlen oder auch Bewegungsabläufe von Servos  benötigt, kann man dazu den Pattern_Configurator verwenden. Auch die meisten im Programm Generator enthalten Makros wurden ursprünglich mit dem Pattern_Configurator erstellt.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Was ist der Pattern_Configurator?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;was_ist_der_pattern_configurator&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;240-920&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;der_aufbau_des_programms&quot;&gt;Der Aufbau des Programms&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_uebersicht.jpg?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_uebersicht.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_uebersicht.jpg?w=600&amp;amp;tok=dc3aee&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Im oberen Teil des Programms befinden sich die Einstellungen (rot markiert). Hier können verschiedene Parameter eingestellt werden. Diese werden im nächsten Abschnitt genauer erklärt.
Im unteren Teil befindet sich eine Tabelle (blau markiert), in der die Beleuchtungseffekte eingetragen werden können. 
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Der Aufbau des Programms&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;der_aufbau_des_programms&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;921-1334&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;die_einstellungen&quot;&gt;Die Einstellungen&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Im oberen Teil des Pattern_Configurators befinden sich verschiedene Einstellungen. Diese werden im Folgenden genauer beschrieben.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Bezeichnung &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Erklärung &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Erste RGB Led &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Dieser Wert gibt die Nummer der verwendeten Led in der Kette an. Bei der Verwendung des Programm Generators wird dieser Wert allerdings nicht verwendet und kann unbeachtet bleiben. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Startkanal der RGB Led &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Gibt an, welcher Kanal eines WS2811 Moduls für die erste WS2811 Led verwendet werden soll. 0 = rot, 1 = grün, 2 = blau &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Schalter Nummer &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Dieser Wert wird bei der Verwendung des Programm Generators ebenfalls nicht verwendet und kann unbeachtet bleiben. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Anzahl der Ausgabe Kanäle &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Dieser Wert gibt an, wie viele Leds von diesem Pattern_Configurator Makro angesteuert werden sollen. Eine RGB Led wird dabei wie 3 einzelne Leds betrachtet. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Bits pro Wert &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Dieser Wert gibt die Anzahl der verfügbaren Helligkeitsstufen für die Leds an. (1 Bit = 2 Helligkeitsstufen, 8 Bits = 256 Helligkeitsstufen, beliebige Zwischenwerte sind ebenfalls möglich) &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Wert Min &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Dieser Wert gibt die minimale Helligkeit der Leds an. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Wert Max &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Dieser Wert gibt die maximale Helligkeit der Leds an. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Wert ausgeschaltet &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Dieser Wert gibt die Helligkeit der Leds an, wenn das Pattern_Configurator Makro, z.B. mittels einer DCC Adresse, abgeschaltet wurde. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Mode &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Mit dieser Einstellung können verschiedene Modi aktiviert werden, welche das Makro beeinflussen. Für den Einstieg sind diese aber nicht relevant und der Mode sollte auf PM_Normal stehen. Eine genauere Beschreibung dazu ist im Kapitel „Mode“ zu finden. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Analoges Überblenden &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Wird hier eine 1 eingetragen, wird das analoge Überblenden aktiviert. Dabei verändert sich die Helligkeit einer Led langsam bis zum vorgegebenen Wert. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Goto Mode &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Wird der Goto Mode aktiviert, können einzelne Spalten durch externe Ereignisse wie einen Tastendruck direkt angesprungen werden. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Grafische Anzeige &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Aktiviert die grafische Anzeige der Lichteffekte in der Tabelle. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; Spezial Mode &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Wird hier ein „C“ eingetragen, wird der Charlieplexing Modus für die Verwendung von Charlieplexing aktiviert. &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;1497-3534&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_round wrap_tip plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_goto_beschreibung.png?w=400&amp;amp;tok=2e4fc3&quot; class=&quot;mediaright&quot; align=&quot;right&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;Wenn man mit der Maus über die Einstellung im Pattern_Configurator fährt, wird eine Erklärung angezeigt (Mauszeiger auf rotes Dreieck bewegen).
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;table sectionedit10&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table1&amp;quot;,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;3793-3794&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Die Einstellungen&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;die_einstellungen&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1335-3794&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;konfiguration_von_beleuchtungseffekten&quot;&gt;Konfiguration von Beleuchtungseffekten&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
In der unteren Tabelle des Programms können die Beleuchtungseffekte eingetragen werden. Dafür werden nebeneinander die einzelnen Schritte eingetragen. Man muss also seinen Beleuchtungseffekt in einzelne Schritte unterteilen.  Diese Schritte werden in einzelne Spalten nebeneinander in die Tabelle eingetragen und laufen dann nacheinander ab. Über der Tabelle kann in der Zeile „Dauer“ eine Dauer für jeden Schritt eingetragen werden.
Für einen Wechselblinker sieht das so aus:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_wechselblinker.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_wechselblinker.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_wechselblinker.png?w=1000&amp;amp;tok=104695&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;1000&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Zunächst soll für eine Sekunde Led 1 leuchten, Led 2 ist ausgeschaltet. Dann soll für eine Sekunde Led 2 leuchten, während Led 1 ausgeschaltet ist. &lt;br/&gt;

Dieses Wechselblinker Beispiel ist auch direkt beim Öffnen des Pattern_Configurators als Beispiel enthalten. &lt;br/&gt;

&lt;br/&gt;

Oben ist in der Zeile Dauer in der ersten Spalte „1 Sec“, also eine Sekunde eingetragen. Darunter steht in der Zeile „LED1“ ein „x“. Ein „x“ bedeutet, dass die Led mit der oben angegebenen, maximalen Helligkeit eingeschaltet werden soll. Wird die Zelle leer gelassen, eine „0“ oder ein „.“ eingetragen, wie bei „LED2“, ist die Led ausgeschaltet. &lt;br/&gt;

&lt;br/&gt;

In der zweiten Spalte wurde das Feld für die Dauer leer gelassen, dadurch wird die vorangegangene Zeit wiederholt. Das Feld für „LED1“ ist leer, die Led ist also ausgeschaltet, im Feld für „LED2“ ist ein „x“ eingetragen, die Led leuchtet also. &lt;br/&gt;

&lt;br/&gt;

Die Dauer wird dabei normalerweise in Millisekunden angegeben, für Sekunden oder Minuten können „Sec“, „Sek“, „sec“, „sek“ oder „Min“ eingetragen werden. &lt;br/&gt;

Die einzelnen Spalten laufen nacheinander ab. Das Programm beginnt also ganz links und springt nach einer Sekunde dann in die nächste Spalte und aktiviert die Leds passend zur eingetragenen Konfiguration. Danach springt das Programm in die dritte Spalte und so weiter. Nach der letzten ausgefüllten Spalte fängt das Programm wieder von vorne an. &lt;br/&gt;

Statt einem „x“ können in die Felder auch bestimmte Helligkeitswerte eingetragen werden. Steht „Bits pro Wert“ auf 1, können nur die Helligkeitsstufen 0 und 1 eingetragen werden. Bei 8 Bits pro Wert können Helligkeitsstufen zwischen 0 und 255 verwendet werden.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Konfiguration von Beleuchtungseffekten&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;konfiguration_von_beleuchtungseffekten&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;3795-6103&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit12&quot; id=&quot;beispieldie_konfiguration_einer_ampel&quot;&gt;Beispiel: Die Konfiguration einer Ampel&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Da dies jetzt erst einmal schwer verständlich ist, soll in diesem Abschnitt die Verwendung des Pattern_Configurators zunächst am Beispiel einer einfachen Ampel erklärt werden. Weiter unten wird diese Ampel auch per DCC-Befehl schaltbar gemacht und in einem weiteren Schritt um die Funktion des gelben Blinklichts erweitert.&lt;br/&gt;

Um nun eine neue Konfiguration zu erstellen, müssen wir nach dem Starten des Pattern_Configurators erst mal ein neues Blatt anlegen. Dies geschieht über die Schaltfläche „Neues Blatt“.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_neues_blatt.jpg?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_neues_blatt.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_neues_blatt.jpg?w=600&amp;amp;tok=604b6f&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

Nach dem Auswählen der Schaltfläche erscheint die Frage, ob wir die Einstellungen des aktuellen Blattes übernehmen möchten. Diese Frage beantworten wir mit „Nein“. Daraufhin kann man dem Blatt noch einen Namen geben, z.B. „Ampel“. 
Anschließend erhält man ein leeres Blatt des Pattern_Configurators, in dem wir unsere Ampel konfigurieren können. 
Zunächst einmal müssen wir die Einstellungen im oberen Teil anpassen. Die meisten Werte können wir bei der Standardeinstellung belassen, nur die Anzahl der Ausgabe Kanäle müssen wir anpassen. In diesem Fall soll eine Ampel mit drei Leds konfiguriert werden, also muss in das Feld eine 3 eingetragen werden. Außerdem kann das Feld „Wert Max“ angepasst werden, um die Helligkeit der Leds zu ändern. Alle anderen Einstellungen sind erst mal nicht relevant. 
Als nächstes sollte man sich den genauen Ablauf überlegen. Die Zeiten können dabei natürlich beliebig verändert werden. Bei einer Ampel sieht das so aus:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Zunächst soll die rote Led für 5 Sekunden leuchten. Die anderen Leds sind dabei ausgeschaltet.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Danach sollen die gelbe und die rote Led für 1 Sekunde leuchten.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Danach soll die grüne Led für 5 Sekunden leuchten.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Anschließend soll die gelbe Led für 1 Sekunde leuchten.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Danach beginnt der Ablauf wieder von vorne, also mit der roten Led.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Das muss nun in den Pattern_Configurator übertragen werden. Zur besseren Übersichtlichkeit kann man an den Anfang der Zeilen für die Leds auch noch „rot“, „gelb“ und „grün“ schreiben und die Zellen wie von Excel gewohnt einfärben. Die dort gewählte Farbe wird mit verringerter Deckkraft automatisch in die folgenden Spalten übernommen, sobald dort Werte eingetragen werden.&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_ampel1.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_ampel1.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_ampel1.png?w=600&amp;amp;tok=5e6409&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

Nun wird der Ablauf in die Tabelle eingetragen. Für die erste Dauer wird dafür wie vorher festgelegt 5 Sekunden eingetragen. Darunter wird bei der roten Led ein „x“ eingetragen, da diese Led leuchten soll. Die Felder für gelb und grün werden freigelassen, da die Leds nicht leuchten sollen.&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_ampel2.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_ampel2.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_ampel2.png?w=600&amp;amp;tok=59518b&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

Anschließend sollen die rote und die gelbe Led für eine Sekunde leuchten, man trägt also bei der Dauer „1 Sec“ und bei der roten und gelben Led je ein „x“ ein.&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_ampel3.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_ampel3.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_ampel3.png?w=600&amp;amp;tok=1d7a69&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

Das Gleiche macht man nun noch für die nächsten Schritte:&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_ampel4.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_ampel4.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_ampel4.png?w=600&amp;amp;tok=2947de&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

Die Zeiten müssen dabei nicht wieder eingetragen werden, da diese gleich wie bei den ersten Schritten sind und dadurch automatisch wiederholt werden.
Nun ist die erste Konfiguration mit dem Pattern_Configurator fertig und kann in den Programm Generator übertragen werden.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Beispiel: Die Konfiguration einer Ampel&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;beispieldie_konfiguration_einer_ampel&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;6104-9561&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit13&quot; id=&quot;konfiguration_zum_programm_generator_uebertragen&quot;&gt;Konfiguration zum Programm Generator übertragen&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Damit die erstellte Konfiguration jetzt auf den Arduino geladen werden kann, müssen wir diese zunächst in den Programm Generator übertragen. Dies geschieht über die Schaltfläche „Programm Generator“.&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_prog_gen_uebertragen.jpg?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_prog_gen_uebertragen.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_prog_gen_uebertragen.jpg?w=400&amp;amp;tok=ba55a2&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Anschließend öffnet sich der Programm Generator und es erscheint dieses Fenster:&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_zielzeile.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_zielzeile.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_zielzeile.png?w=400&amp;amp;tok=b1bd2e&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Danach muss im Programm Generator die Zeile ausgewählt werden, in die das Pattern_Configurator Makro kopiert werden soll. Danach erscheint das Fenster „Eingabe des LED Kanals, in dem der verwendete Led – Kanal eingestellt werden kann.&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_led_kanal.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_led_kanal.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_led_kanal.png?w=400&amp;amp;tok=9bb287&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Nun wird die Zeile in den Programm Generator eingefügt und sollte etwa so aussehen:&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_prog_gen_zeile.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_prog_gen_zeile.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_prog_gen_zeile.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Anschließend kann die Konfiguration wie gewohnt zum Arduino geschickt werden.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Konfiguration zum Programm Generator \u00fcbertragen&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;konfiguration_zum_programm_generator_uebertragen&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;9562-10617&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit14&quot; id=&quot;mode&quot;&gt;Mode&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Mit dem Mode kann der Ablauf des Programms beeinflusst werden. Die Mode Einstellung befindet sich im oberen Bereich des Pattern_Configurators.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_mode.jpg?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_mode.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_mode.jpg?w=400&amp;amp;tok=26aed8&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

Die verschiedenen Modi werden in der folgenden Tabelle beschrieben.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit15&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  Mode  &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  Beschreibung  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;PM_SEQUENZ_W_RESTART &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Die Pattern Sequenz läuft nur einmal aktiviert durch ein externes Ereignis wie einen Taster durch. Bei einer erneuten Aktivierung während der Laufzeit startet die Sequenz von vorne. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;PM_SEQUENZ_W_ABORT &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Die Pattern Sequenz läuft nur einmal aktiviert durch ein externes Ereignis wie einen Taster durch. Bei einer erneuten Aktivierung während der Laufzeit wird die Sequenz abgebrochen. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;PM_SEQUENZ_NO_RESTART &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Die Pattern Sequenz läuft nur einmal aktiviert durch ein externes Ereignis wie einen Taster durch. Bei einer erneuten Aktivierung während der Laufzeit läuft das Programm normal weiter ohne neu zu starten. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;PM_PINGPONG &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Wenn die Pattern Sequenz durchgelaufen ist, startet sie nicht wieder von vorne, sondern wechselt die Richtung und läuft in umgekehrter Reihenfolge wieder zurück. &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table2&amp;quot;,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;10913-11775&amp;quot;} --&gt;
&lt;p&gt;
&lt;br/&gt;

Eine Besonderheit im Pattern Configurator stellt die Nutzung der Werte &lt;span style=&#039;color:#00a2e8; &#039;&gt;&lt;strong&gt;H&lt;/strong&gt;&lt;/span&gt;ue (Farbwert), &lt;span style=&#039;color:#00a2e8; &#039;&gt;&lt;strong&gt;S&lt;/strong&gt;&lt;/span&gt;aturation (Sättigung), &lt;span style=&#039;color:#00a2e8; &#039;&gt;&lt;strong&gt;V&lt;/strong&gt;&lt;/span&gt;alue (Helligkeit). Mit den &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/hsv_mode&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:hsv_mode&quot; data-wiki-id=&quot;anleitungen:spezial:hsv_mode&quot;&gt;HSV-Farben&lt;/a&gt; lassen sich beispielsweise Farbverläufe bzw. Farb-Muster ganz einfach erstellen.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit16&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  Flag  &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  Beschreibung  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;PM_HSV  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Nutzung der HSV-Werte statt der sonst üblichen RGB-Werte &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table3&amp;quot;,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;12127-12227&amp;quot;} --&gt;
&lt;p&gt;
&lt;br/&gt;

Zusätzlich können auch sogenannte Flags eingetragen, die mit den Modes über ein „+“ kombiniert werden können.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit17&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0 centeralign&quot;&gt;  Flag  &lt;/th&gt;&lt;th class=&quot;col1 centeralign&quot;&gt;  Beschreibung  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt;PF_SLOW  &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Die Pattern Sequenz läuft 4-mal langsamer als gewöhnlich durch. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;PF_INVERT_INP &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Invertiert das Eingangssignal &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;_PF_XFADE &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Spezieller Fade-Modus, der vom aktuellen Helligkeitswert statt vom Wert des vorherigen Zustands ausgeht  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;PF_NO_SWITCH_OFF &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Schalten die LEDs nicht aus, wenn der Eingang ausgeschaltet ist. &lt;br/&gt;
Nützlich, wenn mehrere Effekte die gleichen LEDs verwenden, die durch den Eingangsschalter abwechselnd verwendet werden.  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;PF_EASEINOUT &lt;/td&gt;&lt;td class=&quot;col1 leftalign&quot;&gt; Invertieren den Eingangsschalter ⇒ Effekt ist aktiv, wenn der Eingang aus ist  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table4&amp;quot;,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;12350-12937&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Mode&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;mode&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;10618-12940&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit18&quot; id=&quot;verschiedene_helligkeitsstufen&quot;&gt;Verschiedene Helligkeitsstufen&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Mit dem Pattern_Configurator können Leds nicht nur eingeschaltet und ausgeschaltet, sondern natürlich auch gedimmt werden. 
Um mehrere Helligkeitsstufen verwenden zu können, muss zunächst der Wert „Bits pro Wert“ verändert werden. Mit diesem kann festgelegt werden, wie viele Helligkeitsstufen verfügbar sind. Dieser Wert sollte immer so gering wie möglich sein, da dadurch sehr viel Speicherplatz gespart werden kann.
1 Bit pro Wert entspricht dabei 2 Helligkeitsstufen (0 und 1). 8 Bits pro Wert entsprechen 256 Helligkeitsstufen (0 bis 255). Die anderen Werte können aus der folgenden Tabelle entnommen werden:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit19&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Bits pro Wert &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Anzahl der Helligkeitsstufen &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; Werte in Prozent (%) &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;1 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 2 (0 und 1) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 0, 100 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;2 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 4 (0 bis 3) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 0, 33, 67, 100 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;3 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 8 (0 bis 7) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 0, 14, 29, 43, 57, 71, 86 100 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;4 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 16 (0 bis 15) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 0, 7, 13, 20, 27, 33, 40, 47, 53, 60, 67, 73, 80, 87, 93, 100 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;5 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 32 (0 bis 31) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; in 3,2%-Schritten steigend &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;6 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 64 (0 bis 63) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; in 1,6%-Schritten steigend &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;7 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 128 (0 bis 127) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;in 0,8%-Schritten steigend &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;8 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; 256 (0 bis 255) &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;in 0,4%-Schritten steigend &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table5&amp;quot;,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;13610-14083&amp;quot;} --&gt;
&lt;p&gt;
In die Tabelle, in der die Konfiguration eingetragen wird, trägt man dann kein „x“ mehr ein, sondern eine Helligkeitsstufe. Wird ein „x“ eingetragen, entspricht das der vollen Helligkeit. 
In der Tabelle eingetragen sieht das dann so aus:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_helligkeit.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_helligkeit.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_helligkeit.png?w=600&amp;amp;tok=b0dfe2&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

Wenn die Funktion „grafische Anzeige“ aktiviert ist, kann man die Helligkeit der Leds auch in der Tabelle sehen. Man sieht, dass die Felder für die Leds zur Hälfte grün hinterlegt sind. Das bedeutet, dass die Leds mit halber Helligkeit leuchten. Trägt man zum Beispiel einen Helligkeitswert von 64 ein, wird nur noch das untere Viertel der Felder grün hinterlegt. Dadurch kann man die Helligkeit der Leds sehr gut erkennen.
Verwendet man aber zum Beispiel nur 4 Bits pro Wert, stehen 16 Helligkeitsstufen zur Verfügung. In den meisten Fällen sollte das ausreichen. Dann entspricht die volle Helligkeit einem Wert von 15. Dementsprechend können dann auch nur Werte von 0 bis 15 in die Tabelle eingetragen werden. 
Umso weniger Bits pro Wert verwendet werden, umso geringer wird der Speicherbedarf der Konfiguration. Der aktuelle Speicherbedarf wird im Pattern_Configurator angezeigt.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_speicherbedarf.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_speicherbedarf.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_speicherbedarf.png?w=600&amp;amp;tok=a01268&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Verschiedene Helligkeitsstufen&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;verschiedene_helligkeitsstufen&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;12941-15374&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit20&quot; id=&quot;optimierung_des_speicherbedarfs_durch_weniger_helligkeitswerte&quot;&gt;Optimierung des Speicherbedarfs durch weniger Helligkeitswerte&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Wie weit man mit den Helligkeitswerten runter gehen kann um somit Speicherplatz auf dem Arduino zu sparen, zeigt folgendes Beispiel:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Eine RGB-LED soll im deaktivierten Zustand weiß und im aktivierten Zustand rot sein. Für den roten Zustand würde ein „x“ und somit 1 Bit pro Wert reichen (zwei Helligkeitswerte).&lt;br/&gt;

Nicht so für die weiße LED. Für diese wurde im Farbtestprogramm beispielsweise ein Farbwert von Rot 255, Grün 192 und Blau 96 ermittelt.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Der größte gemeinsame Teiler aller drei Werte  ist 32. Teilt man die 256 Helligkeitswerte durch 32, so kommt man auf 8 Helligkeitswerte. Diese erreicht man bereits bei 3 Bits pro Wert statt bei 8 Bits. In die Tabelle trägt man bei 3 Bits pro Wert daher folgende Werte ein: Rot = X, Grün = 6 (192/32), Blau = 3 (96/32)
&lt;/p&gt;

&lt;p&gt;
Werden im Farbtestprogramm Werte ermittelt, bei denen sich kein entsprechender gemeinsamer Teiler bilden lässt, sollten man prüfen, ob eine minimale Anpassung ein noch akzeptables Ergebnis erzeugt. Wurden beispielsweise die Werte Rot 255, Grün 204 und Blau 92 ermittelt, sollte der oben genannte Farbwert in Betracht gezogen werden. Der Farbunterschied rechtfertigt in den seltensten Fällen 8 Bits pro Wert.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Rundumlicht als Beispiel&lt;/strong&gt;&lt;br/&gt;

Wie stark sich das Reduzieren der „Bits pro Wert“ auf den Speicherbedarf auswirkt, zeigt folgendes Beispiel. Das Muster zeigt zwei Rundumlichter mit jeweils vier LEDs. Im ersten Beispiel wurde das Pattern mit 8 Bits pro Wert programmiert. Die LED wird in ihrer Helligkeit zunächst von 0 auf 64, dann von 64 auf 255 und anschließend entsprechend wieder zurück gedimmt. Stellt man diese Helligkeiten nun in Prozent dar statt in absoluten Werten, entspräche das 0%, 25%, 100%, 25%, 0%. Zur Darstellung des Rundumlichtes werden also streng genommen nur drei der zur Verfügung stehenden 256 Helligkeitswerte benötigt (0%, 25% und 100%).
&lt;/p&gt;

&lt;p&gt;
Mit 3 Bits pro Wert stehen acht Helligkeitswerte zur Verfügung (0%, 14%, 29%, 43%, 57%, 71%, 86% und 100%). Der dritte Helligkeitswert mit knapp 29% kommt den 25% von oben am nächsten. Der Unterschied sollte nicht wahrnehmbar sein, reduziert aber den Speicherbedarf um 50 Bytes.
&lt;/p&gt;

&lt;p&gt;
Wem das noch nicht reicht, kann prüfen, ob man einen Unterschied zwischen 25% und 33% Helligkeit wahrnimmt und kann von 3 auf 2 Bits pro Wert und vier Helligkeitswerte reduzieren. Mit vier Helligkeitsstufen können die vier Werte 0%, 33%, 67% und 100 % dargestellt werden. Damit spart man in Beispiel 3 weitere 10 Bytes.
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:21,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Die maximale Helligkeit der LEDs sollte &lt;strong&gt;NIE&lt;/strong&gt; über die Helligkeitswerte in der Tabelle sondern über &lt;strong&gt;„Wert Max.“&lt;/strong&gt; eingestellt werden. Damit reduziert man in der Regel deutlich den Speicherbedarf, da weniger Abstufungen benötigt werden.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:22,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
&lt;strong&gt;Beispiel 1:&lt;/strong&gt; 8 Bits pro Wert, 256 Helligkeitswerte, &lt;strong&gt;93 Bytes&lt;/strong&gt;:&lt;br/&gt;

&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/bits_blaulicht_8.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 2:&lt;/strong&gt; 3 Bits pro Wert, 8 Helligkeitswerte, &lt;strong&gt;43 Bytes&lt;/strong&gt;:&lt;br/&gt;

&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/bits_blaulicht_3.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 3:&lt;/strong&gt; 2 Bits pro Wert, 4 Helligkeitswerte, &lt;strong&gt;33 Bytes&lt;/strong&gt;:&lt;br/&gt;

&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/bits_blaulicht_2.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:23,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Wer wie in &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/rundumlicht&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:rundumlicht&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:rundumlicht&quot;&gt;diesem Beispiel&lt;/a&gt; zwei Fahrzeuge statt einem beleuchtet und von 8 Bits auf 2 Bits pro Wert reduziert, spart 120 Bytes!
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:24,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Optimierung des Speicherbedarfs durch weniger Helligkeitswerte&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;optimierung_des_speicherbedarfs_durch_weniger_helligkeitswerte&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;15375-18814&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit25&quot; id=&quot;analoges_ueberblenden&quot;&gt;Analoges Überblenden&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Beim analogen Überblenden stehen zwei Möglichkeiten zur Verfügung.
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mit „1“ aktiviert man das Überblenden von einem Farb- bzw. Helligkeitswert zum anderen, ohne dabei den Ist-Zustand des Ausgangswerts zu berücksichtigen. Da diese Funktion keinen Speicher im RAM belegt, sollte diese immer als Erstes in Betracht gezogen werden.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mit „X“ aktiviert man das Überblenden von einem Farb- bzw. Helligkeitswert zum anderen inkl. der Abfrage des Ist-Zustands. Somit ist auch ein Wechsel während eines anderen Wechsels möglich, ohne dass es zu einem Sprung kommt. Diesen Mehrwert bezahlt man aber mit einem zusätzlichen Byte RAM je LED (3 Byte je RGB-LED). Man sollte daher immer prüfen, ob die Abfrage des Ist-Zustands nötig ist.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:26,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Das analoge Überblenden funktioniert unabhängig von der Anzahl der Helligkeitsstufen. Selbst bei einem Bit pro Wert (2 Helligkeitsstufen) wird sanft von einem zum nächsten Wert überblendet.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:27,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Analoges \u00dcberblenden&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;analoges_ueberblenden&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:25,&amp;quot;range&amp;quot;:&amp;quot;18815-19807&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit28&quot; id=&quot;goto_mode&quot;&gt;Goto Mode&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Wenn der Goto Mode verwendet wird, kann ein Muster an verschiedenen Stellen gestartet werden. Diese Start-Spalten sind in der Goto-Tabelle mit nummerierten Pfeilen markiert (bei aktivierter grafischer Anzeige).&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Goto Mode&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;goto_mode&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:28,&amp;quot;range&amp;quot;:&amp;quot;19808-20044&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit29&quot; id=&quot;goto_aktivierung&quot;&gt;Goto Aktivierung&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Nach Aktivierung des Goto-Modes über „1“ erscheint folgender Auswahl-Dialog (falls dieser nicht erscheint, erreicht man ihn per Doppelklick im gelben Feld „Goto-Aktivierung):
&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_aktivierung.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;GOTO Aktivierung „N_Buttons“ und „Binary“&lt;/strong&gt;&lt;br/&gt;

Bei der Goto-Aktivierung ist wichtig zu wissen, womit der Effekt später angesteuert werden soll. Soll der Effekt durch einen Tastendruck (Momentschalter) aktiviert werden oder durch einen Schalter (bspw. einer DCC-Adresse an/aus).
Für Taster eignet sich die Aktivierung „N_Buttons“, für Schalter die Funktion „Binary“. Die Schalter „Binary“ finden Anwendung bei Selectrix oder im Zusammenhang mit geschalteten DCC-Adressen, wie es beispielsweise die Z21 von Roco/Fleischmann macht.
Darüber hinaus stehen noch Taster mit nur einmaliger Abfolge der jeweiligen Sequenz zur Verfügung (N_OneTimeBut).
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;GOTO Aktivierung „Counter“&lt;/strong&gt;&lt;br/&gt;

Mit der Aktivierung Zählwerk (Counter) lässt bei jedem Tastendruck einer einzelnen Taste einen Goto-Schritt weiter gehen. Um beim Beispiel der Ampel zu bleiben, könnte man somit per Tastendruck zwischen beiden Sequenzen wechseln. Die Goto 0-Sequenz würde mit Gelb starten und auf Rot umspringen. Die Goto 1-Sequenz startet mit Rot/Gelb und endet bei Grün.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;GOTO Aktivierung „Random“&lt;/strong&gt;&lt;br/&gt;

Die Zufallsaktivierungen lassen sich wahlweise per Taster (RandButton) &lt;strong&gt;oder&lt;/strong&gt; per Zeit zufällig (RandomTime), sequenziell wiederholend (RandomCount) und sequenziell umkehrend (RandomPingPong) aktivieren.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Wahrscheinlichkeit bei Zufallsaktivierungen („RandomTime“ und „RandButton“)&lt;/strong&gt;&lt;br/&gt;

Am Beispiel der Zufallsaktivierungen „RandomTime“ wird im folgenden Beispiel gezeigt, wie man die Wahrscheinlichkeit der zufälligen Aktivierungen beeinflussen kann. Eine Besonderheit dieser Aktivierung ist, dass die Position 0 nur zu Beginn aktiviert wird oder dann, wenn der Eingang auf 0 ist, also die Funktion beispielsweise per DCC deaktiviert ist. Alle anderen Goto-Spalten werden vom Programm zufällig angesprungen, solange der Eingang auf 1 ist, also die Funktion beispielsweise per DCC aktiviert ist.&lt;br/&gt;

Soll nun ein Zustand häufiger vorkommen als andere, wird dieser einfach mehrfach angelegt. Am Beispiel einer Signalsäule, wie sie in Fabrikhallen an Automaten benutzt werden, kann man das wie folgt abbilden. Es werden einfach ein Ereignis für Rot (Goto 1), zwei Ereignisse für Gelb (Goto 2 &amp;amp; 3) und sieben Ereignisse für Grün (Goto 4 - 10) angelegt, die zufällig angesteuert werden. Will man Zustand 0 (aus) auch in der zufälligen Reihenfolge haben, legt man diesen einfach als weiteren Zustand oder ein Vielfaches davon an (bspw. Goto 11).&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_signalsaeule.jpg?w=800&amp;amp;tok=cef5fe&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;800&quot; /&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;GOTO Aktivierung „Nothing“&lt;/strong&gt;&lt;br/&gt;

Wer die Binärwandlung über &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/effekte_mll#temporaere_8bit_variable_erstellen_binaer&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:effekte_mll&quot; data-wiki-id=&quot;anleitungen:effekte_mll&quot;&gt;&amp;quot;Temporäre 8bit Variable erstellen, binär&amp;quot;&lt;/a&gt; selbst machen will, kann die GOTO Aktivierung „Nothing“ wählen. Bin_InCh_toTmpVar speichert den Wert in SI_LocalVar und das Pattern liest den Wert von dort.
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:30,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Das wohl bekannteste Beispiel für die Verwendung des Goto-Modes sind unsere Signale. Hier werden durch Tasten bzw. durch DCC-Adressen unterschiedliche Zustände mit analogem Überblenden erzeugt. Alle Signale basieren auf dem Pattern_Configurator.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:31,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Goto Aktivierung&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;goto_aktivierung&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:29,&amp;quot;range&amp;quot;:&amp;quot;20045-23438&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit32&quot; id=&quot;die_goto-tabelle&quot;&gt;Die Goto-Tabelle&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
In der Goto-Tabelle können die jeweiligen Positionen der einzelnen Sequenzen mit Start (S), Ende (E), Position (P) und Goto (G) definiert werden. Diese Positionen können innerhalb der Goto-Tabelle auch kombiniert werden. In der nachfolgenden Tabelle sind die entsprechenden Kürzel mit ihrer Funktion aufgeführt.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit33&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Befehl &lt;/th&gt;&lt;th class=&quot;col1 leftalign&quot;&gt; Beschreibung  &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;S &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Start einer neuen Sequenz &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;E &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Ende einer Sequenz &lt;strong&gt;ohne&lt;/strong&gt; Wiederholung dieser. Der letzte Wert bleibt aktiv. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;P &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Position, zu der mit „G“ zurückgesprungen werden kann.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;G &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; „Gehe zu“ oder „Goto“-Wert (G1 = Gehe zu Position 1)&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;SE &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Start und Ende einer neuen Sequenz innerhalb &lt;strong&gt;einer&lt;/strong&gt; Spalte &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;SP &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Start einer wiederholbaren Sequenz und Position, zu der mit „G“ zurückgesprungen werden kann.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;SPE &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Start und Ende einer einer wiederholbaren Sequenz innerhalb &lt;strong&gt;einer&lt;/strong&gt; Spalte, zu der mit „G“ zurückgesprungen werden kann.&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;G1 &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Ende einer Sequenz &lt;strong&gt;inklusive&lt;/strong&gt; Wiederholung dieser. Die „1“ bezieht sich auf die Reihenfolge der Startposition. &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;SG1* &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;Ende einer Sequenz &lt;strong&gt;inklusive&lt;/strong&gt; Wiederholung dieser und gleichzeitigem Start einer nächsten Sequenz mit gleicher Funktion. &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table6&amp;quot;,&amp;quot;secid&amp;quot;:33,&amp;quot;range&amp;quot;:&amp;quot;23784-24610&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:34,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Die Funktion SG1 kann beispielsweise verwendet werden, wenn die jeweiligen Startpunkte nicht über Taster, sondern über DCC Schalter angesprungen werden sollen und beim Goto-Mode der Schalter „Binary“ verwendet wird. Die Anzahl der Goto Punkte muss in dem Fall immer eine gerade Anzahl sein (zwei Zustände eines Schalters). Hat man nur drei Sequenzen, kann man mit dieser Funktion die dritte Sequenz auch als vierte nutzen um Speicher im Pattern_Configurator sparen, da die dritte Sequenz sonst zweimal angelegt werden müsste. Ein Beispiel dazu befindet sich in der &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/patternconfigurator#beispiel_einer_goto-anwendung&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:patternconfigurator&quot; data-wiki-id=&quot;anleitungen:spezial:patternconfigurator&quot;&gt;schaltbaren Ampel&lt;/a&gt; mit Blinkfunktion weiter unten. Im Beispiel „Weiß und Farbwechsel mit einer RGB-LED“ wird alternativ der Start an zwei unterschiedlichen Stellen innerhalb der Sequenz aufgezeigt (SP &amp;gt; SP &amp;gt; G1).
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:35,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Die Goto-Tabelle&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;die_goto-tabelle&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:32,&amp;quot;range&amp;quot;:&amp;quot;23439-25494&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit36&quot; id=&quot;beispiele_fuer_die_goto-tabelle&quot;&gt;Beispiele für die Goto-Tabelle&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 1:&lt;/strong&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_01.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

In Beispiel 1 werden über die Goto-Tabelle vier Sequenzen angesprungen, die über Taster (N_Buttons) oder Schalter (Binary) aktiviert werden können. Jede einzelne Sequenz benötigt nur eine Spalte, sodass Start und Ende immer zusammengefasst werden können. Das spart am Ende auch Speicher, da jede zusätzliche Spalte im Pattern_Configurator Speicher auf dem Arduino/ESP32 belegt. &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 2:&lt;/strong&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_02.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

In Beispiel 2 werden über die Goto-Tabelle ebenfalls vier Sequenzen angesprungen, die über Taster (N_Buttons) oder Schalter (Binary) aktiviert werden können. Jede einzelne Sequenz benötigt mehr als eine Spalte, sodass Start und Ende jeweils in einer eigenen Spalte stehen. Eine Besonderheit stellt die dritte Sequenz dar. Hier wird nicht die ganze Sequenz wiederholt sondern nur der Bereich zwischen P und G1. Das kann sinnvoll sein, wenn zwischen S und P eingeblendet wird und das Einblenden nicht wiederholt werden soll oder bei der Ansteuerung von Bewegungen und Sounds.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 3:&lt;/strong&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_03.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

In Beispiel 3 werden über die Goto-Tabelle nur drei Sequenzen angelegt, die über Taster (N_Buttons) oder Schalter (Binary) aktiviert werden können. Um das Aktivieren über zwei Schalter mit insgesamt vier Zuständen zu ermöglichen, wird die dritte Sequenz durch „SG1“ auch zur vierten Sequenz. Bei aktivierter grafischer Anzeige sieht man den Verlauf anhand der Pfeile:&lt;br/&gt;

Einschalten der dritten Sequenz mit dem grünen Pfeil 2 oder dem grünen Pfeil 3 und ab da Wiederholung bis zum Ausschalten über Pfeil 0.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 4:&lt;/strong&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_04.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

Beispiel 4 zeigt exemplarisch die Zusammenhänge der Positionen und der Goto-Sprünge ohne Anspruch auf Sinnhaftigkeit.&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Beispiele f\u00fcr die Goto-Tabelle&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;beispiele_fuer_die_goto-tabelle&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:36,&amp;quot;range&amp;quot;:&amp;quot;25495-27479&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit37&quot; id=&quot;beispiel_einer_goto-anwendung&quot;&gt;Beispiel einer Goto-Anwendung&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Schaltbare Ampel&lt;/strong&gt;&lt;br/&gt;

Bleiben wir beim Beispiel der Ampel. Mit dem Goto-Mode wird es möglich, die Ampelphasen Rot &amp;gt; Grün bzw. Grün &amp;gt; Rot per DCC-Befehl zu steuern.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Um Bytes zu sparen, wird im Gegensatz zum obigen Beispiel nur noch die Dauer der Gelbphase mit einer Sekunde angegeben.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Da der letzte Wert jeder Sequenz in den Spalten 2 und 4 (E) bis zum nächsten Tastendruck aktiv bleibt, kommt „Rot“ und „Grün“ jeweils ans Ende.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Den Start beider Sequenzen bilden somit die unterschiedlichen Gelbphasen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mit der Goto-Aktivierung „N_Buttons“ wird mit einem roten Taster der Wechsel von Spalte 4 auf Spalte 1 ausgelöst und mit einem grünen Taster der Wechsel von Spalte 2 auf Spalte 3.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Mit der Goto-Aktivierung „Binary“ wird mit einer deaktivierten DCC-Adresse der Wechsel von Spalte 4 auf Spalte 1 ausgelöst und mit einer aktivierten der Wechsel von Spalte 2 auf Spalte 3.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Der Wechsel von Spalte 1 auf 2 bzw. von Spalte 3 auf 4 erfolgt jeweils im Anschluss automatisch nach einer Sekunde, bedingt durch das angelegte Muster.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ampel_dcc.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Schaltbare Ampel mit Blinken&lt;/strong&gt;&lt;br/&gt;

Um der Ampel nun auch noch die Blinkfunktion für die Nacht zu geben, die über eine globale DCC-Adresse für alle Ampeln aktiviert werden kann, müssen wir das Ganze etwas umbauen. Selbstverständlich ließe sich das folgende Beispiel auch mit drei Tasten über „N_Buttons“ lösen. Da aber die Konfiguration mit DCC-Adressen etwas komplizierter ist, nehmen wir &lt;strong&gt;„Binary“&lt;/strong&gt; als Beispiel:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Um Bytes zu sparen, starten wir wieder mit der Gelbphase, reduzieren die Zeiteinheit jedoch auf eine halbe Sekunde.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Die halbe Sekunde benötigen wir für die Blinkphase.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Da, wo wir 1,0 bzw. 1,5 Sekunden benötigen, wiederholen wir einfach die Spalten mit den Gelbphasen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Diese Vorgehensweise benötigt weniger Speicher als unterschiedliche Zeiten in sechs Spalten.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goto 0 startet mit Gelb und wechselt nach 1500 ms. zu Rot, wo es verharrt.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goto 1 startet mit Rot/Gelb und wechselt nach 1500 ms. zu Grün, wo es verharrt.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goto 2 und Goto 3 starten den Blinkmodus, unabhängig vom vorherigen Zustand (Rot bzw. Grün) und wiederholen diesen bis zur Deaktivierung.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;wrap_em &quot;&gt;Achtung:&lt;/span&gt; Bitte auf den Punkt in Spalte 10 achten.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ampel_dcc_blink.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Nun werden im Programm Generator mit der Logik-Funktion zwei aufeinanderfolgende Variablen definiert.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; „DCC-Adresse n“ wird mit der 1. Variable „Bsp_Ampel_n_1“ verknüpft.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; „DCC Adresse a“ wird mit der 2. Variable „Bsp_Ampel_n_2“ verknüpft.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; „n“ ist die DCC Adresse der zu schaltenden Ampel, aber nur die Rot-Grün und Grün-Rot-Phase.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; „a“ ist die globale DCC-Adresse, die für alle Ampeln einer Kreuzung verwendet wird, um diese blinken zu lassen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; „a“ muss Dank der Logik-Verknüpfung nicht aufeinanderfolgend zu „n“ sein.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;table sectionedit38&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; DCC n &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; DCC a &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; Bsp_Ampel_n_1 &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt; Bsp_Ampel_n_2 &lt;/th&gt;&lt;th class=&quot;col4&quot;&gt; Goto-Wert &lt;/th&gt;&lt;th class=&quot;col5&quot;&gt; Zustand der Ampel &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;0 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;0 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; Gelb für 1,5 Sek. mit Wechsel auf Rot &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;0 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;1 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; Rot/Gelb für 1,5 Sek. mit Wechsel auf Grün &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;1 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;2 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; Umschalten von Rot auf gelbes Blinken &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt;1 &lt;/td&gt;&lt;td class=&quot;col4&quot;&gt;3 &lt;/td&gt;&lt;td class=&quot;col5&quot;&gt; Umschalten von Grün auf gelbes Blinken &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table7&amp;quot;,&amp;quot;secid&amp;quot;:38,&amp;quot;range&amp;quot;:&amp;quot;30450-30785&amp;quot;} --&gt;
&lt;p&gt;
Im Programm Generator sieht das Ganze dann so aus:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ampel_dcc_blink_pg.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:39,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Zum besseren Verständnis sei zu erwähnen, dass sich der Zustand der LED durch einen Tastendruck verändert. Bei der Ampel werden die drei an einen WS2811 angeschlossenen LEDs in ihren jeweiligen Zuständen verändert. Auf gleichem Weg lässt sich selbstverständlich auch die Farbe einer WS2812-LED durch Tastendruck ändern (beispielsweise von weiß auf Farbwechsel).
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:40,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;hr /&gt;

&lt;p&gt;
&lt;strong&gt;Weiß und Farbwechsel mir einer RGB-LED:&lt;/strong&gt;&lt;br/&gt;

Wer beispielsweise eine Burg, ein Stadttor oder ein Viadukt mit einem RGB Farbwechsel beleuchten möchte, dies aber nur als Knopfdruckaktion als Alternative zur weißen Beleuchtung ausführen möchte, kann beide Abläufe im Pattern_Configurator vereinen.
&lt;/p&gt;

&lt;p&gt;
Im folgenden Beispiel sind die drei Sequenzen zu sehen:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goto 0: Alle LEDs sind deaktiviert.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goto 1: Die Werte x, 6 und 3 ergeben bei 3 Bits pro Wert ein kaltweißes Licht (&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/patternconfigurator#optimierung_des_speicherbedarfs_durch_weniger_helligkeitswerte&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:patternconfigurator&quot; data-wiki-id=&quot;anleitungen:spezial:patternconfigurator&quot;&gt;siehe oben&lt;/a&gt;).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goto 2: RGB-Farbwechsel (je 8 Sekunden Cyan, Blau, Magenta, Rot, Gelb, Grün, 3x Weiß).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Goto 3: Macht dasselbe wie Goto 2 und wird nur benötigt, wenn die Aktivierung über „Binary“ gewählt wurde (siehe Tipp bei den &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/patternconfigurator#die_goto-tabelle&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:patternconfigurator&quot; data-wiki-id=&quot;anleitungen:spezial:patternconfigurator&quot;&gt;Goto-Sprüngen&lt;/a&gt;).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_05.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Alternativ zu SG1 kann der zweite Startpunkt auch innerhalb einer Sequenz gesetzt werden (siehe Tipp bei den &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/patternconfigurator#die_goto-tabelle&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:patternconfigurator&quot; data-wiki-id=&quot;anleitungen:spezial:patternconfigurator&quot;&gt;Goto-Sprüngen&lt;/a&gt;).&lt;br/&gt;

Im folgenden Beispiel sind bei Goto 0 alle LEDs aus, bei Goto 1 leuchten sie weiß, Goto 2 und drei aktivieren den Farbwechsel und Goto 4 und 5 ein wildes Blinkmuster.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_08.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Die Konfiguration zum Schalten per DCC-Adresse sieht in dem Fall so aus:&lt;br/&gt;

&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_06.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Aktiviert wird das Ganze über zwei frei wählbare DCC-Adressen mit Logik-Verknüpfung.&lt;br/&gt;

&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ex_07.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;
&lt;strong&gt;Schalten mit der Aktivierung „Binary“:&lt;/strong&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Beim Schalten über DCC-Adressen ist folgendes zu beachten. Die DCC-Adressen müssen aufeinander folgend sein, andernfalls ist mit aufeinander folgenden Variablen zu schalten, die als &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/effekte_mll#logische_verknuepfung&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:effekte_mll&quot; data-wiki-id=&quot;anleitungen:effekte_mll&quot;&gt;logische Verknüpfung&lt;/a&gt; definiert werden müssen (siehe Beispiel „Weiß und Farbwechsel“). Bleiben wir also bei aufeinander folgenden DCC-Adressen
&lt;/p&gt;
&lt;div class=&quot;table sectionedit41&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; DCC n &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; DCC n+1 &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; Goto-Wert &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;0 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;aus &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2 &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;ein &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;3 &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table8&amp;quot;,&amp;quot;secid&amp;quot;:41,&amp;quot;range&amp;quot;:&amp;quot;33447-33538&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Beispiel einer Goto-Anwendung&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;beispiel_einer_goto-anwendung&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:37,&amp;quot;range&amp;quot;:&amp;quot;27480-33539&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit42&quot; id=&quot;grafische_anzeige&quot;&gt;Grafische Anzeige&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Die grafische Anzeige wird über eine „1“ im gelben Feld aktiviert und erleichtert es, die Abläufe im Pattern_Configurator zu verstehen.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 1:&lt;/strong&gt;&lt;br/&gt;

In Beispiel 1 ist die oben gezeigte DCC-Ampel ohne aktivierte grafische Anzeige abgebildet.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ampel_dcc_0.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 2:&lt;/strong&gt;&lt;br/&gt;

In Beispiel 2 ist die oben gezeigte DCC-Ampel mit aktivierter grafische Anzeige abgebildet.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ampel_dcc.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel 3:&lt;/strong&gt;&lt;br/&gt;

In Beispiel 3 ist die oben gezeigte DCC-Ampel mit aktivierter grafische Anzeige und analogem Überblenden abgebildet.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/goto_ampel_dcc_x.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;

&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:43,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_round wrap_tip plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Bei sehr umfangreichen Mustern im Pattern_Configurator empfiehlt es sich, die grafische Anzeige während der Bearbeitung zu deaktivieren, um Programmabstürze in Microsoft Excel zu vermeiden.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:44,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Grafische Anzeige&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;grafische_anzeige&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:42,&amp;quot;range&amp;quot;:&amp;quot;33540-34505&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit45&quot; id=&quot;das_optionsmenue&quot;&gt;Das Optionsmenü&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Das Optionsmenü des Pattern_Configurators kann über den Led-Kreis in der oberen linken Ecke des Programms erreicht werden.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_optionsmenue_schaltflaeche.jpg?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_optionsmenue_schaltflaeche.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_optionsmenue_schaltflaeche.jpg?w=600&amp;amp;tok=b59065&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;
&lt;div class=&quot;table sectionedit46&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table9&amp;quot;,&amp;quot;secid&amp;quot;:46,&amp;quot;range&amp;quot;:&amp;quot;34748-34749&amp;quot;} --&gt;
&lt;p&gt;
Daraufhin öffnet sich dieser Dialog:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/pattern_config/pattern_optionsmenue.png?id=anleitungen%3Aspezial%3Apatternconfigurator&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:pattern_config:pattern_optionsmenue.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/pattern_config/pattern_optionsmenue.png?w=600&amp;amp;tok=6b527c&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;div class=&quot;table sectionedit47&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table10&amp;quot;,&amp;quot;secid&amp;quot;:47,&amp;quot;range&amp;quot;:&amp;quot;34860-34861&amp;quot;} --&gt;
&lt;p&gt;
Dieser ist in 3 Seiten unterteilt, die am oberen Rand ausgewählt werden können.
Über die Seite „Beispiele“ können die Beispiele des Pattern Konfigurators geladen werden, Dateien können abgespeichert werden und auch gelöscht werden. 
Dabei gibt es keine „Sind sie sicher…“ Abfragen. Wenn ein Knopf gedrückt wird, wird die entsprechende Aktion direkt ohne Sicherheitsabfrage ausgelöst. 
Über die Seite „Spezielle Module“ können die ISP-Platine, Servoplatine, Soundplatine und Charlieplexing-Platine geflasht werden. 
Auf der Seite „Extras“ steht der Multiplexer-Generator zur Verfügung. Dieser ist hier genauer beschrieben:
&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/multiplexing&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:multiplexing&quot; data-wiki-id=&quot;anleitungen:spezial:multiplexing&quot;&gt;Multiplexing&lt;/a&gt;
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:48,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_round wrap_tip plugin_wrap&quot; style=&quot;width: 60%;&quot;&gt;
&lt;p&gt;
Über den Button „Aktuelle Seite(n) speichern“ kann das meist aufwändig angelegte Muster exportiert werden. Dies ist von Vorteil, wenn man das Muster beispielsweise zur Fehleranalyse im Forum teilen möchte. Auch können bei einem Update des Pattern_Configurators eigene Muster unter Umständen verloren gehen. Einmal in ein Verzeichnis eigener Wahl exportiert, können diese Muster jederzeit über den Button „Eigene Beispiele laden“ zurück in den Pattern_Configurator importiert werden.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:49,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Das Optionsmen\u00fc&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;das_optionsmenue&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:45,&amp;quot;range&amp;quot;:&amp;quot;34506-36084&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit50&quot; id=&quot;beispielsammlung&quot;&gt;Beispielsammlung&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Die Spielwiese mit dem Pattern_Configurator ist unendlich groß. Viele Beispiele wurden schon im Wiki veröffentlicht. Die Wahrscheinlichkeit ist groß, dass man in diesen Beispielen eine passende Lösung für eigne Ideen findet. Die nachfolgende Liste wird ständig erweitert und hat keinen Anspruch auf Vollständigkeit.
&lt;/p&gt;
&lt;div class=&quot;table sectionedit51&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;Name &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Beschreibung &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;Niveau &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/rundumlicht&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:rundumlicht&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:rundumlicht&quot;&gt;Rundumlicht &amp;amp; Sicherungsanhänger&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Rundumlicht mit vier LEDs, die sich nahtlos drehen und Sicherungsanhänger mit typischem Blinkverhalten. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Anfänger&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/signalsaeule&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:signalsaeule&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:signalsaeule&quot;&gt;Signalsäulen und Monitore&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Fabrikhalle mit Kunststoffspritzmaschinen inkl. Signalsäulen, PCs und Monitoren sowie Schaltschränken &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Anfänger&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/farbwechsel&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:farbwechsel&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:farbwechsel&quot;&gt;Farbwechsel&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Ein klassischer Farbverlauf wie er bei vielen RGB-Leuchten zu finden ist (Rot &amp;gt; Gelb &amp;gt; Grün &amp;gt; Cyan &amp;gt; Blau &amp;gt; Magenta). &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Anfänger&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/schweisslicht&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:schweisslicht&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:schweisslicht&quot;&gt;Schweißlicht mit Sound&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Gleichzeitiges Abspielen einer 3-sekündigen Sounddatei mit passendem Schweißlicht-Flackern.&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Anfänger&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/stepper/signale&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:stepper:signale&quot; data-wiki-id=&quot;anleitungen:stepper:signale&quot;&gt;Formsignalen mit Ministeppern&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Stepper ein- und ausschalten sowie gleichzeitig die Drehrichtung beeinflussen. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Fortgeschrittene&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/holzfaeller&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:holzfaeller&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:holzfaeller&quot;&gt;Holzfäller&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Holzfäller bewegt sich, Baum fällt, alles mit synchronisiertem Sound. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Fortgeschrittene&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/stammtische/videos/november_2020&quot; class=&quot;wikilink1&quot; title=&quot;stammtische:videos:november_2020&quot; data-wiki-id=&quot;stammtische:videos:november_2020&quot;&gt;Lagerfeuer und Holzhacker&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Wenn das Feuer langsam ausgeht, hackt der Holzhacker frisches Holz. Nur im Stammtisch-Video. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Fortgeschrittene&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/laubblaeser&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:laubblaeser&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:laubblaeser&quot;&gt;Laubbläser&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Gleichzeitige Steuerung von Servo-Bewegung und Soundmodul.&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Fortgeschrittene &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/videos/ed_ungewollt_belebtes_haus&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:videos:ed_ungewollt_belebtes_haus&quot; data-wiki-id=&quot;anleitungen:videos:ed_ungewollt_belebtes_haus&quot;&gt;Ungewollt belebtes Haus&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; Schrittschaltwerk steuert kompletten Ablauf einer nachgestellten Einbruch-Szene. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; Experten&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table11&amp;quot;,&amp;quot;secid&amp;quot;:51,&amp;quot;range&amp;quot;:&amp;quot;36437-38062&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Beispielsammlung&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;beispielsammlung&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:50,&amp;quot;range&amp;quot;:&amp;quot;36085-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 29 Jan 2024 22:14:28 +0000</pubDate>
        </item>
        <item>
            <title>tiny-uniprog</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/tiny-uniprog</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;programmierung_von_attinys_fuer_servo_charlieplexing_oder_sound&quot;&gt;Programmierung von ATTinys für Servo, Charlieplexing oder Sound&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Programmierung von ATTinys f\u00fcr Servo, Charlieplexing oder Sound&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;programmierung_von_attinys_fuer_servo_charlieplexing_oder_sound&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-80&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit2&quot; id=&quot;aufgabeziel&quot;&gt;Aufgabe/Ziel&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Programmierung eines ATTiny85 für die Verwendung in der 510DE-Servo LED WS2811 Platine. &lt;br/&gt;

Diese Platine kann in 3 unterschiedlichen Bestückungsvarianten verwendet werden:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;Variante 1&lt;/strong&gt;	&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/bauanleitungen/510de_modul_servo_mux_v10&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:bauanleitungen:510de_modul_servo_mux_v10&quot; data-wiki-id=&quot;anleitungen:bauanleitungen:510de_modul_servo_mux_v10&quot;&gt;Ansteuerung von 12 LEDs mit Charlieplexing/Multiplexing-Schaltung&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;Variante 2&lt;/strong&gt;	&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/bauanleitungen/510de_modul_servo_v10&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:bauanleitungen:510de_modul_servo_v10&quot; data-wiki-id=&quot;anleitungen:bauanleitungen:510de_modul_servo_v10&quot;&gt;Ansteuerung von 3 Servos&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;strong&gt;Variante 3&lt;/strong&gt;      &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/sound_servoplatine&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:sound_servoplatine&quot; data-wiki-id=&quot;anleitungen:spezial:sound_servoplatine&quot;&gt;Sound Servoplatine&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;br/&gt;

Die Programmierung erfolgt mittels der Platine „400-ATTiny-Programmer“ (genannt „Tina“) in der Standard Bestückung, wie sie in der &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/bauanleitungen/attiny_programmer_400de&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:bauanleitungen:attiny_programmer_400de&quot; data-wiki-id=&quot;anleitungen:bauanleitungen:attiny_programmer_400de&quot;&gt;Wiki Bauanleitung&lt;/a&gt; beschrieben ist. Softwaremäßig stehen für jede Bestückungsvariante jeweils 2 Möglichkeiten zur Auswahl:
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Pattern_Configurator by Hardi&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Arduino Programmiersoftware&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Aufgabe\/Ziel&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;aufgabeziel&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;81-991&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit3&quot; id=&quot;hardware&quot;&gt;Hardware&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Arduino UNO&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	400DE-Attiny-Programmer Platine in der Standardbestückung (Achtung auf die Ausrichtung der 6 LED´s)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	IC ATTiny85 im DIL8 Gehäuse&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Je nach Verwendungszweck&lt;/div&gt;
&lt;ol&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 510DE-Servo LED WS2811 Platine in der Variante I. &lt;strong&gt;Eine LED bestückte Charlieplexing-Testplatine (befindet sich auf der 400DE Platine) oder Viessmann Multiplex Signale&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; 510DE-Servo LED WS2811 Platine in der Variante II. &lt;strong&gt;3 Servos&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Zur Festlegung der Servo-Endpositionen die 100DE-MLL Masterplatine&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	USB-Kabel zum Verbinden des UNO und der MLL Masterplatine mit dem PC.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Verbindungskabel von einer 200DE-Verteilerplatine oder der 100DE-Masterplatine.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Je nach Anzahl der Servoplatinen und angeschlossenen Servos, ein dem Stromverbrauch angemessenen, zusätzliches 5V Netzteil. &lt;br/&gt;
weitere Info dazu: &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/sicherheitmll&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:sicherheitmll&quot; data-wiki-id=&quot;anleitungen:sicherheitmll&quot;&gt;Sicherheit MobaLedLib&lt;/a&gt;, &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/bauanleitungen/verteilerplatine_200de#stromversorgung&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:bauanleitungen:verteilerplatine_200de&quot; data-wiki-id=&quot;anleitungen:bauanleitungen:verteilerplatine_200de&quot;&gt;Stromversorgung&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hardware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hardware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;992-1973&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit4&quot; id=&quot;software&quot;&gt;Software&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	MS Excel Version ab 2021 oder neuere Versionen. &lt;br/&gt;
&lt;span class=&quot;wrap_em &quot;&gt;ACHTUNG: Mit anderen Tabellenkalkulationsprogrammen ergaben sich ebenfalls Probleme und die Makros funktionieren nicht richtig.&lt;/span&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/faq#welche_office_benoetige_ich_fu&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:faq&quot; data-wiki-id=&quot;anleitungen:faq&quot;&gt;Infos&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	MobaLedLib by Hardi (In der derzeit &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/faq#aktuelle_versionen&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:faq&quot; data-wiki-id=&quot;anleitungen:faq&quot;&gt;aktuellen Version&lt;/a&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Arduino 1.8.12		&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Software&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;software&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1974-2378&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit5&quot; id=&quot;ablauf&quot;&gt;Ablauf&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Wie bereits erwähnt gibt es softwaremäßig 2 Möglichkeiten den ATTiny85 zu programmieren. &lt;br/&gt;

Im Anschluss ist nur die einfache Variante mit dem Pattern_Config beschrieben. &lt;br/&gt;

Um die Programmierung des ATTiny85 mit dem UNO und der aufgesteckten 400DE-Platine durchführen zu können,&lt;br/&gt;
muss der UNO für die Tiny-Programmierung vorbereitet werden.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Ablauf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ablauf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2379-2750&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit6&quot; id=&quot;schrittattiny85-board_installation&quot;&gt;1. Schritt: ATTiny85-Board Installation&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Um Fehlermeldungen bei der anschließenden Tiny-Programmierung vorzubeugen, ist es notwendig zu überprüfen ob die richtigen, zusätzlichen Board-Bibliothek in der Arduino IDE installiert sind. Ansonst kommt bei der weiteren Programmierung die folgende Fehlermeldung:
&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/001.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:001.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/001.jpg?w=480&amp;amp;tok=3cea08&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;001.jpg&quot; alt=&quot;001.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;1. Schritt: ATTiny85-Board Installation&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;schrittattiny85-board_installation&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2751-3127&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit7&quot; id=&quot;installation_der_benoetigten_board-bibliothek_in_der_arduino_ide&quot;&gt;Installation der benötigten Board-Bibliothek in der Arduino IDE:&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Arduino IDE öffnen&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Datei – Voreinstellungen öffnen &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/002.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:002.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/002.jpg?w=300&amp;amp;tok=118a73&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;002.jpg&quot; alt=&quot;002.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Eintrag &lt;sup&gt;&lt;a href=&quot;#fn__3&quot; id=&quot;fnt__3&quot; class=&quot;fn_top&quot;&gt;3)&lt;/a&gt;&lt;/sup&gt; &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/003.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:003.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/003.jpg?w=480&amp;amp;tok=d345e5&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;003.jpg&quot; alt=&quot;003.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Anschließend in der Boardverwaltung die Bibliothek „ATTinyCore“ suchen und installieren.&lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/004.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:004.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/004.jpg?w=480&amp;amp;tok=f28db5&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;004.jpg&quot; alt=&quot;004.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/005.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:005.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/005.jpg?w=480&amp;amp;tok=626657&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;005.jpg&quot; alt=&quot;005.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Nach der Installation empfiehlt es sich die Arduino IDE neu zu starten, um alle Änderungen zu übernehmen. &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
Diese grundlegenden Vorbereitungen sind nur einmal erforderlich. &lt;br/&gt;

Außer man wechselt den Rechner….
&lt;/p&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Installation der ben\u00f6tigten Board-Bibliothek in der Arduino IDE:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;installation_der_benoetigten_board-bibliothek_in_der_arduino_ide&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3128-3952&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;schrittmit_mobaledlib-pattern_configurator_konfigurieren&quot;&gt;2. Schritt: Mit MobaLedLib-Pattern_Configurator konfigurieren&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Verbinden des UNO (400DE-Attiny-Programmer Platine muss noch nicht angesteckt sein) mit dem PC. &lt;br/&gt;

Öffnen des Pattern_Configurator:
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Links oben in den Farbkreis klicken.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Spezielle Module auswählen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Prog.-ISP drücken.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/006.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:006.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/006.jpg?w=480&amp;amp;tok=2a2531&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;006.jpg&quot; alt=&quot;006.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Anschließend wird vermutlich nach dem COM Anschluss des UNO gefragt. Wenn dieser definiert ist, wird der UNO für die Programmierung durch das Hochladen der entsprechenden .ino vorbereitet (C:\Users\MadMax\Documents\Arduino\libraries\MobaLedLib\examples\90.Tools\02.Tiny_UniProg).
Die Einstellung werden automatisch durch den Pattern_Config. durchgeführt. 
Die LED auf dem UNO flackert.
Wenn der UNO nur für diesen Zweck verwendet wird ist dieser Vorgang nur einmal durchzuführen.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/007.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:007.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/007.jpg?w=480&amp;amp;tok=bcbc03&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;007.jpg&quot; alt=&quot;007.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Nachdem die Programmierung des UNO erfolgreich abgeschlossen wurde ist er jetzt bereit für die ATTiny85 Programmierung.&lt;br/&gt;

Die 400DE-Platine mit dem UNO verbinden und einen ATTiny85 in den dafür vorgesehenen Sockel in der richtigen Ausrichtung einstecken.&lt;br/&gt;

Empfehlung:	Programmiert man öfter IC´s könnte der eingelötete Sockel durch das mehrmalige Herausnehmen und Hineinstecken Schaden nehmen. Wenn man einen zusätzlichen IC-Sockel mit dem eingesteckten ATTiny85 verwendet kann man vorbeugen. Oder man verwendet die neben dem Sockel vorgesehenen Buchsenleisten mit einer auf der 400DE vorhandenen Adapterplatine.&lt;br/&gt;

&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/008.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:008.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/008.jpg?w=480&amp;amp;tok=815747&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;008.jpg&quot; alt=&quot;008.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/009.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:009.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/009.jpg?w=480&amp;amp;tok=62c3c9&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;009.jpg&quot; alt=&quot;009.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;

&lt;br/&gt;

Die grüne Heartbeat-LED blinkt und die weiße LED leuchtet.
&lt;/p&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;2. Schritt: Mit MobaLedLib-Pattern_Configurator konfigurieren&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;schrittmit_mobaledlib-pattern_configurator_konfigurieren&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3953-5656&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;schrittfuer_welche_anwendung_wird_der_attiny85_verwendet&quot;&gt;3. Schritt: Für welche Anwendung wird der ATTiny85 verwendet?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;3. Schritt: F\u00fcr welche Anwendung wird der ATTiny85 verwendet?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;schrittfuer_welche_anwendung_wird_der_attiny85_verwendet&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;5657-5732&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit10&quot; id=&quot;charlieplexingmultiplexing-modul&quot;&gt;Charlieplexing/Multiplexing-Modul&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Öffnen des Pattern_Configurators&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Links oben in den Farbkreis klicken.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Spezielle Module auswählen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Charlieplexing auswählen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Prog.Charlieplex anklicken.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/010.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:010.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/010.jpg?w=480&amp;amp;tok=3d4ee8&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;010.jpg&quot; alt=&quot;010.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

Die gelbe Prog-LED blinkt, anschließend flackert die orange Read-LED.
Das Hochladen ist abgeschlossen, wenn die weiße LED leuchtet &lt;br/&gt;

&lt;em&gt;(C:\Users\MadMax\Documents\Arduino\libraries\MobaLedLib\examples\80.Modules\02.CharlieplexTiny)&lt;/em&gt;.
&lt;br/&gt;
&lt;br/&gt;

Dann ist der ATTiny85 für die Verwendung im Charlieplex-Modul einsetzbar. &lt;br/&gt;

Das Ergebnis kann man mit dem seriellen Monitor in der Arduino IDE überprüfen bzw. einsehen. &lt;br/&gt;

&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/011.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:011.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/011.jpg?w=480&amp;amp;tok=b904aa&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;011.jpg&quot; alt=&quot;011.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Das serielle Monitor Fenster öffnen. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Die Taste auf der ATTiny-Uni-Platine drücken (rechte äußere Taste) – Länge je nach Zweck &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wenn der ATTiny nicht gleich erkannt wird dann nochmals versuchen. &lt;br/&gt;
Die angezeigten Werte der Fuses und die Frequenzeinstellung 16MHz sind für die Charlieplex Verwendung.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
&lt;strong&gt;Reset pin normal = weiße LED leuchtet&lt;/strong&gt; &lt;br/&gt;

&lt;br/&gt;

Die weitere Programmierung für die speziellen Anforderungen ist jetzt mit dem Pattern_Configurator möglich. &lt;br/&gt;

Beispiele sind angeführt und eine nähere Beschreibung von Hardi ist unter dem folgenden &lt;a href=&quot;https://wiki.mobaledlib.de/redirect/forum/mt999&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/redirect/forum/mt999&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Link&lt;/a&gt; zu finden.&lt;br/&gt;

&lt;/p&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Charlieplexing\/Multiplexing-Modul&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;charlieplexingmultiplexing-modul&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;5733-7135&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit11&quot; id=&quot;servo-modul&quot;&gt;Servo-Modul&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Vorgehensweise wie bei der Charlieplex-Modul Programmierung. &lt;br/&gt;

&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Öffnen des Pattern_Configurators&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Links oben in den Farbkreis klicken.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Spezielle Module auswählen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Servo auswählen&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/012.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:012.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/012.jpg?w=480&amp;amp;tok=5bd1a9&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;012.jpg&quot; alt=&quot;012.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;

&lt;br/&gt;

Beim Klick auf den Button „Prog. Servo“ kommt nun eine Abfrage: &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/korrektur_pins_1.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:korrektur_pins_1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/korrektur_pins_1.jpg?w=480&amp;amp;tok=a31c1d&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;korrektur_pins_1.jpg&quot; alt=&quot;korrektur_pins_1.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;

&lt;br/&gt;

Falls man eine ältere Platine mit Datumsaufdruck 14.6.19 &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/korrektur_pins_2.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:korrektur_pins_2.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/korrektur_pins_2.jpg?w=480&amp;amp;tok=062eaa&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;korrektur_pins_2.jpg&quot; alt=&quot;korrektur_pins_2.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;

&lt;span class=&quot;wrap_em &quot;&gt;UND&lt;/span&gt; die SMD-Variante der WS2811 verwendet wählt man „Ja“. &lt;br/&gt;

Bei den neueren Servo-Platinen wurde die Pinbelegung der SMD-Variante korrigiert. Und wenn man die DIL-Variante des WS2811 einsetzt ist die Version der Platine egal. Hier kann man „Nein“ auswählen.
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot;&gt;
&lt;p&gt;
Anmerkung: Hat man doch den falschen Button gewählt ist das auch nicht tragisch. Dann sind halt SV1 und SV2 vertauscht.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
Anschließend kommt die normale Routine wie sie vom Charlieplex-Modul bekannt ist.&lt;br/&gt;

Die gelbe Prog-LED blinkt, anschließend flackert die orange Read-LED.&lt;br/&gt;

Hochladen abgeschlossen, wenn die blaue LED leuchtet. &lt;br/&gt;
&lt;br/&gt;

&lt;em&gt; (C:\Users\MadMax\Documents\Arduino\libraries\MobaLedLib\examples\80.Modules\01.ATTiny85_Servo)&lt;/em&gt;.
&lt;br/&gt;
&lt;br/&gt;

&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info wrap_centeralign wrap_round plugin_wrap&quot;&gt;
&lt;p&gt;
Bei der Verwendung einer alten Version vom Programm-Generator kann es passieren, das der Reset-Pin nicht automatisch als Ausgang definiert wird. &lt;br/&gt;
Dann bitte den Reset-Taster auf dem Tiny_UniProg drücken, bis die blaue LED kurz aufblinkt.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:15,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
Die richtige Programmierung kann man überprüfen, indem man folgende Schritte macht
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Das serielle Monitor Fenster öffnen. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Die Reset-Taste auf der Platine kurz drücken (rechte äußere Taste)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wenn der ATTiny nicht gleich erkannt wird dann nochmals versuchen. &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
Die angezeigten Werte der Fuses und die Frequenzeinstellung 16 &lt;abbr title=&quot;Megahertz&quot;&gt;MHz&lt;/abbr&gt; sind für die Servo Verwendung. &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/13-19_002137.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:13-19_002137.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/13-19_002137.jpg?w=480&amp;amp;tok=e12a14&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;13-19_002137.jpg&quot; alt=&quot;13-19_002137.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt; Reset pin IO = blaue LED leuchtet.&lt;/strong&gt;
&lt;/p&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Servo-Modul&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;servo-modul&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;7136-9207&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit16&quot; id=&quot;servo-positionen_mit_dem_farbtestprogramm_definieren&quot;&gt;Servo-Positionen mit dem Farbtestprogramm definieren&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Um den Servo-ATTiny85 zu verwenden müssen noch die Endpositionen der Servos definiert werden.
Das ist mit dem Farbtestprogramm des Programm-Generator möglich.
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Programm-Generator starten&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Optionen aufrufen &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/01_servo_farbtest.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:01_servo_farbtest.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/01_servo_farbtest.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	LED &lt;em class=&quot;u&quot;&gt;F&lt;/em&gt;arbtest starten &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/02_optionen_led_farbtest_starten.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:02_optionen_led_farbtest_starten.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/02_optionen_led_farbtest_starten.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Auswahl des COM Ports bestätigen &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/03_com_port.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:03_com_port.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/03_com_port.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Abfrage „Standard oder letzte Benutzer Farbtabelle verwenden?“ bei der erstmaligen Abfrage mit „Ja“ bestätigen. &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/04_farbtabelle_ja_1.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:04_farbtabelle_ja_1.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/04_farbtabelle_ja_1.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Auf das Laden des Farbtestprogramms warten &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/05_farbtabelle_2.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:05_farbtabelle_2.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/05_farbtabelle_2.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Im geöffneten Programm zum Reiter „Servo Test“ wechseln &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/06_farbtest_reiter_servo_test.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:06_farbtest_reiter_servo_test.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/06_farbtest_reiter_servo_test.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Wir sollten jetzt folgende Darstellung sehen &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/07_mobaledlib_led_servotester.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:07_mobaledlib_led_servotester.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/07_mobaledlib_led_servotester.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;     Folgende Vorgehensweisen haben sich bereits bei mehreren Anwendern bewährt. Die Werte werden hierbei direkt in den Attiny geschrieben:&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 1. Servo Addresse und Servo Anschluss angeben. (Servo Adresse „0“ ist die HeartBeat LED auf der Hauptplatine. &lt;strong&gt;Servo Addresse&lt;/strong&gt; „1“ ist die erste Servoplatine. &lt;strong&gt;Servo Anschluss&lt;/strong&gt; „0“ ist der erste von drei möglichen Servos pro Servoplatine.)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 2. Das Servo (ohne Ruderhorn) mittels des Schiebebalkens ( unter Servo position) auf 110 (Mittenposition) setzen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 3. Dann das Ruderhorn des Servo montieren.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 4. Folgend (unter Programmierung von Min/Max Position und Geschwindigkeit) den Button „Starte Min-Max Pos/Speed programmieren“ drücken um die erste äußere Position (Min) des Servo mittels der Pfeilfelder „Dec «“, „Dec &amp;lt;“, „Inc &amp;gt;“ und „Inc »“ zu bestimmen. Nach erneutem Drücken des Button kann die zweite äußere Position (Max) eingestellt werden. Erläuterung: Dec=Decrease=verringern, Inc=Increase=erhöhen. „&amp;lt;“ und „&amp;gt;“=kleine Schritte, „«“ und „»“=größere Schritte.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 5. Nach nochmaligem Drücken des Buttons (auf der Hauptplatine blinkt die weiße mittlere LED) kann die Geschwindigkeit des Servos ebenso mittels der Pfeilfelder eingestellt werden.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 6. Weitere Servos können jetzt unter der Eingabe von Servo Addresse und Servo Anschluss eingestellt werden (zurück zu Punkt 1.).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 7. Schließen des Farbtestprogramms. Eine extra Speicherung ist nicht notwendig und es gibt auch keinen Button hierfür. &lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
Sollten pro Servo mehr als zwei Stellungen benötigt werden, so können die weiteren Stellungen über den Programm-Generator (Dialog) eingestellt werden, siehe auch erstes Bild in dieser Rubrik.  Dort ist als erstes ein Servo mit drei Stellpositionen aufgeführt, danach mehrere Servos mit 2 Positionen.
Bei der Servobestimmung bitte die Kanalauswahl (1/Rot, 2/Grün, 3/Blau) beachten. Pro Servoplatine = 3 Servos = 3 Kanäle &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/servofarbtestprogramm/07_programm-generator_dialog_led_kanal_auswahl.png?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:servofarbtestprogramm:07_programm-generator_dialog_led_kanal_auswahl.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/servofarbtestprogramm/07_programm-generator_dialog_led_kanal_auswahl.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Bitte auch die Bauanleitung „510DE - Servo &amp;amp; LEDs“ beachten. Hier sind wichtige Tipps zu den Servoplatinen-Anschlüssen zu finden
&lt;/p&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Servo-Positionen mit dem Farbtestprogramm definieren&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;servo-positionen_mit_dem_farbtestprogramm_definieren&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:16,&amp;quot;range&amp;quot;:&amp;quot;9208-12530&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit17&quot; id=&quot;servo-positionen_mit_der_arduino_ide_definieren&quot;&gt;Servo-Positionen mit der Arduino IDE definieren&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Um den Servo-ATTiny85 zu verwenden müssen noch die Endpositionen der Servos definiert werden.
Das ist mit der Arduino IDE möglich.
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Arduino Software öffnen&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Datei – Beispiele … 01.Servo_Pos öffnen - siehe unten.&lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/016.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:016.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/016.jpg?w=480&amp;amp;tok=f72bc9&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;016.jpg&quot; alt=&quot;016.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Bevor der Sketch auf den LED-Nano geladen wird, sollte man die Board Einstellungen überprüfen. Je nach Nano Fabrikat werden unterschiedliche Bootloader-Versionen durch die Lieferanten verwendet. &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/017.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:017.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/017.jpg?w=480&amp;amp;tok=19dd52&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;017.jpg&quot; alt=&quot;017.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Anschließend den Sketch auf den Nano hochladen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Jetzt sollten auf der Masterplatine die gelbe und die blaue LED bei den drei Tasten abwechselnd blinken.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Der LED-Nano ist jetzt bereit für die Einstellung der Servo-Positionen. &lt;br/&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/uniprog/018.jpg?id=anleitungen%3Aspezial%3Atiny-uniprog&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:uniprog:018.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/uniprog/018.jpg?w=480&amp;amp;tok=1c263a&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;018.jpg&quot; alt=&quot;018.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt; &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Mit der rechten(+) Taste (blaue LED) wählt man das entsprechende Servo aus. (In den meisten Fällen ist die LEDNr 0 die Heartbeat-LED). Im seriellen Monitor sieht man die ausgewählte LEDNr. und den RGB Kanal bzw. das ausgewählte Servo. Mit der linken(-) Taste (gelbe LED) kann man in der Auswahl zurück navigieren. \\Das ausgewählte Servo zuckt leicht hin und her. Anschließend mit der mittleren Taste bestätigen.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;	Jetzt blinkt die linke gelbe LED – bedeutet die Min. Position kann eingestellt werden. Mit der linke(-) oder rechten(+) Taste bewegt sich das Servo in die jeweilige Position. &lt;br/&gt;
ACHTUNG: das Servo sollte nicht bis zum äußersten Anschlag eingestellt werden. Es könnte sonst Schaden nehmen und die Funktion ist nicht mehr einwandfrei gewährleistet. Mit der mittleren Taste wird bestätigt. &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
&lt;span class=&quot;wrap_em &quot;&gt;Im seriellen Monitor werden keine Werte angezeigt.&lt;/span&gt; &lt;br/&gt;

&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Nach der Bestätigung blinkt die blaue LED – bedeutet die Max.Position kann eingestellt werden.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Nach der Bestätigung der Max. Position blinkt die weiße mittlere LED – bedeutet die Geschwindigkeit des Servos kann eingestellt werden. &lt;br/&gt;
- Gelbe Taste(–) langsamer &lt;br/&gt;
- Blaue Taste(+) schneller &lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Nach der Bestätigung ist das Servo fertig eingestellt und das nächste Servo kann ausgewählt werden.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:18,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot;&gt;
&lt;p&gt;
INFO: wenn das Servo-Modul mit einem SMD-WS2811 Chip auf der Rückseite bestückt ist, ändert sich die Reihenfolge der Servos (OUTGrün und OUTRot vertauscht) gegenüber der DIP8 Version des WS2811.
Eine erweiterte Programmierung für spezielle Anforderungen ist mit dem Pattern_Configurator möglich. 
Derzeit gibt es keine Beispiele und auch keine nähere Beschreibung von Hardi.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:19,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
Man kann mit dem Beispiel_Main experimentieren.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/redirect/forum/mt935&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/redirect/forum/mt935&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wiki.mobaledlib.de/redirect/forum/mt935&lt;/a&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/redirect/forum/mt1790&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/redirect/forum/mt1790&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wiki.mobaledlib.de/redirect/forum/mt1790&lt;/a&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/redirect/forum/mt1818&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/redirect/forum/mt1818&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wiki.mobaledlib.de/redirect/forum/mt1818&lt;/a&gt; &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Servo-Positionen mit der Arduino IDE definieren&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;servo-positionen_mit_der_arduino_ide_definieren&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:17,&amp;quot;range&amp;quot;:&amp;quot;12531-15362&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit20&quot; id=&quot;bekannte_fehler&quot;&gt;Bekannte Fehler&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Der COM Anschluss wird nicht richtig erkannt – Anschluss überprüfen und evtl USB-Port wechseln.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Verzeichnis „“ nicht gefunden – fehlende Bibliothek in der Boardverwaltung der Arduino IDE  siehe&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wenn man alle Servos (mehr als drei) mit nur einer Servoplatine programmiert (Servos austauscht), bleiben die Einstellungen nicht erhalten - Man konfiguriert nicht das Servo sondern die Ausgänge des ATTiny auf der Servoplatine.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Der Programmer erzeugt die 12V für den HV-Reset nicht. Dies kann einer der folgenden Ursachen haben&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Nicht bestückter Widerstand R10&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Falsche Beschriftung des Plus Pols der LEDs (Dieser muss Links sein). Das hatte Hardi zunächst nicht gemerkt und die Software so geschrieben, dass sie zu der falschen Beschriftung passt. In der aktuellen Version der Platine vom 30.10.19 ist die Beschriftung dann korrigiert. Dummerweise ist in der offiziellen Version der Bibliothek noch die alte Software. Eine korrigierte Version gibt es hier: &lt;a href=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/blob/master/Quelldateien/02.Tiny_UniProg.zip&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/blob/master/Quelldateien/02.Tiny_UniProg.zip&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://github.com/Hardi-St/MobaLedLib_Docu/blob/master/Quelldateien/02.Tiny_UniProg.zip&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Falsche Kondensatoren. Die Beschriftung der Einheit auf dem Board verursacht Verwirrung. &lt;br/&gt;
Die Angabe auf der Platine ist 0.22uF. Dies sind 220nF, bitte prüfen ob es sich um die richtigen Werte handelt&lt;sup&gt;&lt;a href=&quot;#fn__4&quot; id=&quot;fnt__4&quot; class=&quot;fn_top&quot;&gt;4)&lt;/a&gt;&lt;/sup&gt;.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Lötbrücke zwischen einem Pad und einer Durchkontaktierung. Dummerweise haben die Durchkontaktierungen keinen Lötstopplack.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Falsche bestückter Spannungsteiler (R8 wurde versehentlich mit 47K anstelle von 470K bestückt).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Bekannte Fehler&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;bekannte_fehler&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:20,&amp;quot;range&amp;quot;:&amp;quot;15363-&amp;quot;} --&gt;&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__3&quot; id=&quot;fn__3&quot; class=&quot;fn_bot&quot;&gt;3)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;&lt;a href=&quot;https://raw.githubusercontent.com/Hardi-St/MobaLedLib_Docu/refs/heads/master/Tools/ATTinyCore/ATTinyCore_index.json&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://raw.githubusercontent.com/Hardi-St/MobaLedLib_Docu/refs/heads/master/Tools/ATTinyCore/ATTinyCore_index.json&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://raw.githubusercontent.com/Hardi-St/MobaLedLib_Docu/refs/heads/master/Tools/ATTinyCore/ATTinyCore_index.json&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__4&quot; id=&quot;fn__4&quot; class=&quot;fn_bot&quot;&gt;4)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;Aufdruck 224 = 220nF, Falsch ist 223 = 22nF&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 09 Mar 2026 11:10:10 +0000</pubDate>
        </item>
        <item>
            <title>betaversion</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/betaversion</link>
            <description>
&lt;p&gt;
3.5.0H
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  11.04.26  Änderungen
             - Die House-Macro Änderungen wurden entfernt, welche in 3.5.0G hinzugefügt wurden. 
               Es stellte sich heraus, dass die bestehenden Makros ausreichend sind.
  
            Corrections
              - Remove House functions SKIP_ROOM1 .. SKIP_ROOM3 which skip single LEDs&lt;/pre&gt;

&lt;p&gt;
3.5.0G
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  30.03.26  Verbesserungen
             - Belebtes Haus: SKIP_ROOM1, SKIP_ROOM2 und SKIP_ROOM3 überspringt eine LED (wie SKIP_ROOM eine RGB-LED überspringt)
  
            Fehlerbehebungen
             - PlattformIO mit Arduino
             - Servo-Konfigurator verbessern – Keep-Alive und Pause nach dem Senden für Arduino hinzufügen
             - Fehlerbehebung bei PlatformIO und Erweiterungen
  
            Features:
             - Added House functions SKIP_ROOM1 .. SKIP_ROOM3 which skip single LEDs (Hardi)
  
            Fixes:
             - don&amp;#039;t use platformio for boot loader update or upload to communication arduino
             - improve servo configurator - add keep alive and pause after send for arduino
             - fix bug with platformio and extensions&lt;/pre&gt;

&lt;p&gt;
3.5.0F1
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  13.03.26  Verbesserungen
             - Einführung von CopyLED-Makros, die den LED-Kanal berücksichtigen
             - Hinzufügen der Makros „Name_LED_Number“ und „Name_LED_Offset“
             - Hinzufügen eines generischen Firmware-Downloads mit Dateiauswahl für Pico
             - Hinzufügen eines Desktop-Links zu forum.mobaledlib.de
             - Hinzufügen des ServoTest-Dialogfelds
             - Hinzufügen der Makros „Signal2“ und „Signal2_RGB“ (danke @gerabo) 
  
            Fehlerbehebungen
             - Korrektur der Erkennung des Tokens „Logic()“
             - Korrektur beim Schreiben von „platformio.ini“ mit Erweiterungen
             - Korrektur beim Lesen von Kommentarzeilen
             - Entfernen der Testschaltflächen, wenn die Adresse entfernt wird
             - Ignorieren des Verzeichnisses „pyMobaLedLib_cc“, das C-Dateien enthält
             - Prüfung auf maximale Anzahl von Eingabevariablen hinzufügen
             - Pico-USB-ID korrigieren
             - Fehler beim Präfix für numerische Werte beheben
             - RTS beim Erkennen des Arduino-Typs aktivieren
             - Fehlererkennung bei PICO-Build korrigieren
             - Servokonfiguration: Standardpositionen und Geschwindigkeitseinstellung verbessern
             - Fehlende Adresseneingabe im Makro-Dialog behoben
             - Fehler behoben, wenn die USB-Verbindung während der Servokonfiguration unterbrochen wird
            
            Features:
             - introduce CopyLED macros that take the LED channel into account
             - add macros Name_LED_Number and Name_LED_Offset
             - add generic firmware download with file selection for Pico
             - add desktop link to forum.mobaledlib.de
             - add ServoTest dialog
             - add Signal2 and Signal2_RGB macros
  
            Fixes:
             - fix Logic() token detection
             - fix writing platformio.ini with extensions
             - fix reading comment lines
             - remove test buttons when address is removed
             - ignore the pyMobaLedLib_cc directory which unfortunately contains c-files
             - add check for maximum input variables
             - fix pico USB id
             - fix bug with prefix for numeric values
             - enable RTS when probing Arduino type
             - fix error detection with PICO build
             - servo configuration: improve default positions and speed setting
             - fix missing address input in macro dialog
             - fix bug when USB connections drops while servo setup&lt;/pre&gt;

&lt;p&gt;
3.5.0C1
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  04.12.25  Fehlerbehebungen:
             - fix Logic() token detection&lt;/pre&gt;

&lt;p&gt;
3.5.0C
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  28.11.25  Verbesserungen:
             - jueff: Unterstützung der USB-Signatur von PICO im Boot-Modus
             - jueff: Verbesserung der COM-Port-Auswahl, Anzeige der verfügbaren Ports anderer Gerätetypen
             - jueff: Änderung der Bilder im COM-Port-Auswahldialog
             - jueff: Hinzufügen eines Desktop-Links zur Suchseite
             - jueff: Verbesserung der Erkennung von seriellen Ports
             - jueff: Aktualisierung des ESP32-Images und des Suche-Symbols
             - hardi: Verbesserung der Verarbeitung von Makro-only-Erweiterungen
             - jueff: Registerkarte „Optionen“ DCC/SX Arduino für Nicht-Nano-Plattformen ausgeblendet
             - jueff: Plattformabhängige Überprüfung der maximalen Anzahl von Eingängen
             - jueff: PICO im Boot-Modus erkennen und Starter-Image installieren
             - peterVT11: Umbenennung von BETA in Korrekturversion&lt;/pre&gt;
&lt;pre class=&quot;code&quot;&gt;             Fehlerbehebungen:
             - jueff: Logic Funktion inkorrekt mit Variablen die AND, OR oder NOT enthalten&lt;/pre&gt;

&lt;p&gt;
3.4.0D
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  04.11.25:  Verbesserungen:
             - Rasperry PICO released. Benötigte Bibliotheken werden nun automatisch heruntergeladen.&lt;/pre&gt;

&lt;p&gt;
3.4.0C2
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  01.11.25: Fehlerbehebungen:
            - Fix mit der neuen WS2812 Reset Zeit für die Lichtmaschine ZERO Pro.
            - Textkorrektur beim Pattern_Configurator.&lt;/pre&gt;

&lt;p&gt;
3.4.0B3
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  28.07.25:  Verbesserungen:
            - Makros nur übersetzen, wenn Sprache geändert wurde 
            - Mailadresse auf Forum umgestellt (für Prog_Generator und Pattern_Configurator).
            - CharliPlexing mit ESP32: Auswertung der Resetmeldung geändert (Pattern_Configurator).
            - Auswahl des Verzeichnises und Dateinamens im Pattern_Configurator, wenn alle Seiten 
              gleichzeitigt gespeichert werden.
            
            Fehlerbehebungen:
            - LED2Var verwendet jetzt lange Adressen auf ESP32/PICO Plattform&lt;/pre&gt;

&lt;p&gt;
3.4.0B2
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  20.06.25:  Verbesserungen:
            - für Arduino Nano wird auch ein serieller Treiber mit Namen &amp;quot;Serielles USB-Gerät&amp;quot; unterstützt, 
              die deutsche Version für “USB Serial Port&amp;quot; hinzugefügt
            - Erzwingen der Installation der vordefinierten Bibliotheksversion von FastLED
          
             Fehlerbehebungen:
            - Problem behoben, dass der Simulator mit neueren Excel Versionen nicht startet&lt;/pre&gt;

&lt;p&gt;
3.4.0A
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  29.05.25:  Verbesserungen:
            - Misha&amp;#039;s Erweiterungen, um Led-Kanalauswahl mit Multiplexer Makro zu ermöglichen
            - einige Prüfungen für Pico-Plattform hinzugefügt
            - experimentelle Lichtsensor Unterstützung für Pico-Plattform (LDR)
            - Hilfe-Link im PatternConfigurator angepasst 
          
             Fehlerbehebungen:
            - Fehler bei Export in Datei Problem „Fehler... beim Speichern einer MLL-Datei (.pgf)“ siehe viewtopic.php?t=134
            - Last rebuild failed - Tastendruck erforderlich siehe viewtopic.php?t=182
            - Fehlermeldung beim Erstellen einer Pushbuttonfunktion siehe viewtopic.php?t=193
            - Fehlermeldung bei Random-Befehlen siehe viewtopic.php?t=161
            - Fehler beim Kopieren von versteckten Blättern behoben siehe viewtopic.php?p=1538
            - Fehler beim Kopieren von Blatt zu Blatt behoben
  &lt;/pre&gt;

&lt;p&gt;
3.3.2G
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  23.04.25: - add FastLED revive and fault display feature
            - improve ESP32 startup time
            - limit ESP32 RMT channels to 6
            - improve counting and display of freezes/delays
            - remove limit ESP32 RMT channels
            - fix bug with wrong send buffer size for SEND_INPUTS 
              Siehe auch die neue Version 3.4.0 &lt;/pre&gt;

&lt;p&gt;
3.3.2E
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  18.12.24: - fix issue: &amp;quot;ESP32 and hieroglyphics for MLL time&amp;quot; To-Dos#20
            - reset the ESP32 watchdog while in color-test loop
            - for Pico change DCC_SIGNAL_PIN from 22 to 28, DCC_SIGNAL_PIN may also be set externally&lt;/pre&gt;

&lt;p&gt;
3.3.2C
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  22.09.24: - Added the &amp;quot;#define USE_SX_INTERFACE&amp;quot; line back to modul M06_Write_Header. For some readins this line
              has been removed from 3.3.2 to 3.3.2C. It is importand to use Selectrix
            - change to beta 3.3.2C
            - LEDs_AutoProg.ino: Changed the selectrix pin definitions:
                #define SX_SIGNAL_PIN 13   // 22.09.24:  Old: 4
                #define SX_CLOCK_PIN  4    // 22.09.24:  Old: 13
              Now they should work with the ESP32 Adapter and the new ESP32 mainboard
            - Attention: With FastLED version 3.4.0 the WS2812 LEDs sometimes flash when quick changes to the
              locomotive speed are made. With version 3.6.0 and higher this no longer occurs.&lt;/pre&gt;

&lt;p&gt;
3.3.2B
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  10.03.24: - add SI_LocalVar to predefined system variables
            - add replacement of &amp;quot;$&amp;quot; in macro arguments         https://www.stummiforum.de/t165060f7-MobaLedLib-LEDs-Servos-Sound.html#msg2643729
            - force a rebuild if ALT key is pressed
            - empty compiler cache if last ATMega build failed  https://www.stummiforum.de/t222466f195-MobaLedLib-Arduino-Upload-geht-nicht.html#msg2649211
            - import latest version of GetLocalOneDrivePath script from https://gist.github.com/guwidoe/038398b6be1b16c458365716a921814d&lt;/pre&gt;

&lt;p&gt;
3.3.2A
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  29.12.23: - keep active sheet on Update_All_Start_LedNr function exit
  18.01.24: - new function SafeChDriveAndDir with Additional check for network drives (#11425)
  19.01.24: - improved selection of old prog generator filename when updating to new release/beta
            - add experimental support of LNet for ESP32
  20.01.24: - fix LastFilledRowIn_ChkAll
            - fix detection of first RGB_Heartbeat line while import
            - change release to beta 3.3.2A&lt;/pre&gt;

&lt;p&gt;
3.2.1A
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  04.11.22 fix SwitchC issue with ESP32&lt;/pre&gt;

&lt;p&gt;
3.2.1B
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  20.12.22 add missing code for old &amp;quot;slow&amp;quot; build
  21.12.22 fix issue that AVR build fails caused by vbcr in LEDs_Autoprog.h -&amp;gt; replace by vbcrlf&lt;/pre&gt;

&lt;p&gt;
3.2.1C
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  21.12.22 add missing macros InCh_to_LocalVar, InCh_to_LocalVar1 and Bin_InCh_to_TmpVar1 to sheet Lib_Macros
  05.01.23 Store_Status: support SwitchB, extend max. InCnt to 63, check max InCnt, use Set_Input for SwitchB
  14.01.23 Add macro SingleLedSignal and SingleLedSignalEx
  &lt;/pre&gt;

&lt;p&gt;
3.2.1D    
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  10.03.23 Support of new input type &amp;quot;feedback&amp;quot;
  10.03.23 process CAN messages from ATTiny_CAN_GBM module
  10.03.23 new macro include to include excel sub sheets
  10.03.23 experimental support of ProgGenerator stored in a Onedrive folder
  21.03.23 if SEND_INPUT is enabled also SwitchA, SwitchD and Variable changes are notified
  09.04.23 GEN_BUTTON_RELASE mode are now setable in config sheet
  18.04.23 Finalize include sheet feature
  26.05.23 fix issue that AVR build fails caused by vbcr in LEDs_Autoprog.h -&amp;gt; replace by vbcrlf
  &lt;/pre&gt;

&lt;p&gt;
3.2.1E
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  18.05.23: - LNet support for Arduino platform added
  13.09.23: - Hardi: Merged Hardis changes for the Word Clock
              Added OutCnt to the MLL Extentions
              Don&amp;#039;t generate warning if &amp;quot;Pattern&amp;quot; macro is found
              Added define COPYLED_OFF and COPYLED_OFF_ONCE
              &lt;/pre&gt;

&lt;p&gt;
3.2.1F
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  15.09.23: - New Macro Set_LEDNr added
  18.09.23: - New Macro CopyNLEDs added
  20.10.23: - Juergen: fix #10763
  23.10.23: - Juergen: revert one of Hardis changes - fixes problem #10 reported by Nessie 
 &lt;/pre&gt;

&lt;p&gt;
3.2.1H   
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  29.11.23: - Hardi:New Icons from Michael&lt;/pre&gt;

&lt;p&gt;
3.2.1I
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  30.11.23: - Hardi: Added Juergens changes again&lt;/pre&gt;

&lt;p&gt;
3.2.1J    
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  
  04.11.23: - Juergen: fix #10159 - fastbuild.cmd has wrong Unix line ending
  04.12.23: - Juergen ensure that included sheet uses same protocol as the main sheet
  09.12.23: - Juergen add experimental support of ATMega328PB
            - enable bootloader update without need to set jumpers (Mainboard version &amp;gt;= 1.8.2)&lt;/pre&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 12 Apr 2026 09:30:40 +0000</pubDate>
        </item>
        <item>
            <title>ups-zustellung</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/ups-zustellung</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;villa_mit_ups-zustellung&quot;&gt;Villa mit UPS-Zustellung&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_villa_bonn.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_villa_bonn.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_villa_bonn.jpg&quot; class=&quot;mediaright&quot; align=&quot;right&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;Grundlage für die Gestaltung dieser Szenerie sind die Modelle „Bürgerhaus mit Atelier in Bonn“ (Kibri 39103) und dem UPS-Fahrzeug (Herpa 097 123). Beide Objekte sind entsprechend modifiziert und mit einer Eigenkonstruktion zu einer animierten Einheit zusammengefügt.
Das Haus wurde mit 14 Zimmern, zwei Hausfluren sowie einem Laden auf der Rückseite ausgestattet. Alle Zimmer auf der Vorderseite und der Laden bekamen eine detaillierte  Inneneinrichtung. Hinzu kommt noch ein Kamin, zwei separate TV-Geräte, zwei Stehlampen, eine Schaufensterpuppe mit beleuchtetem Podest und eine Servo-gesteuerte Haustür. Auch das UPS-Auto wurde mit Abblend- und Rücklicht sowie je drei Blinkern auf jeder Seite ausgestattet. Des Weiteren kann die seitliche Tür mechanisch geöffnet werden und ein dazugehöriger UPS-Mann liefert die Post bis an die Haustür. Dort wird sie dann von der Hausdame in Empfang genommen. Auch eine entspreche Konversation zwischen beiden Personen wurde mit eingebunden.
&lt;/p&gt;

&lt;p&gt;
Alle Elemente werden über Grundbausteine der MobaLedLib angesteuert und programmiert. Die Animation kann über einen Taster am Anlagenrand ausgelöst werden.&lt;br/&gt;

&lt;/p&gt;
&lt;iframe src=&quot;//www.youtube-nocookie.com/embed/WH9IftsGCyw?&quot; width=&quot;600&quot; height=&quot;450&quot; style=&quot;width:600px;height:450px;&quot; class=&quot;vshare vshare__none&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; data-domain=&quot;www.youtube-nocookie.com&quot; loading=&quot;lazy&quot;&gt;&lt;h3&gt;&lt;/h3&gt;&lt;/iframe&gt;
&lt;p&gt;
&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Villa mit UPS-Zustellung&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;villa_mit_ups-zustellung&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-1300&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;aufbau_und_steuerung_des_ups-manns&quot;&gt;Aufbau und Steuerung des UPS-Manns&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Unterkonstruktion&lt;/strong&gt;&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_konstruktion_f360.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_konstruktion_f360.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_konstruktion_f360.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_mechanik.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_mechanik.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_mechanik.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Aufbau und Steuerung des UPS-Manns&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;aufbau_und_steuerung_des_ups-manns&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;1301-1512&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;d-druckdateien&quot;&gt;3D-Druckdateien&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Eignung für 3D-Drucker: &lt;a href=&quot;https://wiki.mobaledlib.de/3d_druck/eignung&quot; class=&quot;media&quot; title=&quot;3d_druck:eignung&quot; data-wiki-id=&quot;3d_druck:eignung&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/vorlagen/fdm_4.png?w=120&amp;amp;tok=57bb58&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;FDM sehr gut geeignet&quot; alt=&quot;FDM sehr gut geeignet&quot; width=&quot;120&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/3d_druck/eignung&quot; class=&quot;media&quot; title=&quot;3d_druck:eignung&quot; data-wiki-id=&quot;3d_druck:eignung&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/vorlagen/sla_2.png?w=120&amp;amp;tok=7ff621&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;SLA bedingt geeignet&quot; alt=&quot;SLA bedingt geeignet&quot; width=&quot;120&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Die Hauptunterkonstruktion besteht aus UK1 und Schlitten. Die UK2 mit Schwenkarm ist eine zusätzliche Komponente. Sie kann mit UK1 zusammen gefügt werden, wenn sich die Gartentür bewegen soll. Die Rückstellung des Schwenkarmes erfolgt dabei über ein Gummi (Stick-Elastic).  Die beiden Zahnräder 1 +2 sind für die Bewegung des UPS-Mannes erforderlich. Die Hausgrundplatte besteht (drucktechnisch bedingt) aus zwei Teilen (HGP1 und HGP2). HGP2 ist für die genaue Positionierung der Unterkonstruktion vorgesehen und wird daher mit HGP1 verklebt.
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_center wrap_round wrap_info plugin_wrap&quot;&gt;
&lt;p&gt;
Alle Teile wurden mit einem Bambu Lab P1S geduckt. Damit der Micro-Servo wegen Schwergängigkeit keinen Schaden erleidet, ist es unbedingt erforderlich, die Zahnräder mit einer 0,2mm-Düse zu drucken.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
Die Konstruktion zum Betätigen der UPS-Tür wurde dem Türantrieb moderner Bustüren nachempfunden. Sie wird über einen Servo angetrieben und bildet eine separate Einheit (An einer perfekten Ausführung wird noch getüftelt).
&lt;/p&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_round wrap_box plugin_wrap&quot;&gt;
&lt;p&gt;
&lt;a href=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/tree/master/3D_Daten_fuer_die_MobaLedLib/UPS-Zustellung&quot; class=&quot;media&quot; target=&quot;_blank&quot; title=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/tree/master/3D_Daten_fuer_die_MobaLedLib/UPS-Zustellung&quot; rel=&quot;ugc nofollow noopener&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/icons/github-mark.png?w=50&amp;amp;tok=d5630f&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;50&quot; /&gt;&lt;/a&gt;Die Druckdaten sind hier zu finden:&lt;br/&gt;

&lt;a href=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/tree/master/3D_Daten_fuer_die_MobaLedLib/UPS-Zustellung&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/tree/master/3D_Daten_fuer_die_MobaLedLib/UPS-Zustellung&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://github.com/Hardi-St/MobaLedLib_Docu/tree/master/3D_Daten_fuer_die_MobaLedLib/UPS-Zustellung&lt;/a&gt; &lt;br/&gt;

&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;3D-Druckdateien&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;d-druckdateien&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;1513-3053&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;ablauf&quot;&gt;Ablauf&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Die Bewegung des „UPS-Mann“ wird über einen im Schlitten montierten Steppermotor mit Getriebe angetrieben. Er zieht den Schlitten durch die in der Unterkonstruktion integrierte Zahnstange an die einzelnen Endpositionen. Diese sind durch magnetische Positionssensoren fest fixiert. Als Steuerung kommt die Stepperleiterplatte (550) zum Einsatz. Sie steuert den Stepper und wertet die Informationen der Sensoren aus. Mit Hilfe des Pattern-Configurators wird der zeitliche Ablauf (gelb dargestellt) festgelegt. Die Werte im LED-Kanal 1 und 2 steuern die Bewegungen und Richtung des Steppers. Mit Hilfe von Kanal 3 (blaue LED) werden dem Programm-Generator Werte zu Verfügung gestellt, die eine Beeinflussung des Sounds und der Hausflurbeleuchtung ermöglichen.
&lt;/p&gt;

&lt;p&gt;
An den jeweiligen Endpositionen wird über ein im Schlitten integriertes Micro-Servo die Gehrichtung des UPS-Mannes je nach notwendiger Laufrichtung geändert. Damit die notwendige 180° Kehrtwende ordentlich ausgeführt werden kann, ist die kleine  Zahnradkombination notwendig.
&lt;/p&gt;

&lt;p&gt;
Die verbauten Servos werden über die Sevoplatine (510) angesteuert. Der zeitliche Ablauf wird ebenfalls im Pattern-Configurator im LED-Kanal 4-6 festgelegt (grün dargestellt).&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_pattern_ablauf.png?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_pattern_ablauf.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_pattern_ablauf.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
(Stand 28.02.2025)
&lt;/p&gt;

&lt;p&gt;
Das benötigte Soundmodul wird über eine Servoplatine (510), aber mit entsprechendem Sound-ATTiny bestückt, angesteuert.
&lt;/p&gt;

&lt;p&gt;
Programm-Generator (Stand 28.02.2025): &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_pg01.png?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_pg01.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_pg01.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Im „Belebten Haus“ der Vorderseite wurde der 1.Raum (Hausflur) als SKIP_ROOM erfasst und somit in der Ansteuerungskette übersprungen. Er wird nachfolgend separat mit Parametern aus UPS_Auto (pc) angesteuert. &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_pg02.png?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_pg02.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_pg02.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Damit aber die Hausflur-LED angesteuert werden kann, springt man in der Ansteuerungskette auf diese zurück, führt die notwendige Funktion aus und springt dann wieder vor in die laufende Ansteuerungskette. (die Funktion hier: in Abhängigkeit von Kanal 3 (blaue LED) von UPS_Auto (pc) wird die Hausflur-LED ein.- oder ausgeschaltet.) &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_pg03.png?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_pg03.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_pg03.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Mit Hilfe der Funktion „LED_to_Var“ wird der Wert des 3. Kanals (blaue LED) der  ersten LED  im Patter-Generator UPS_Auto (pc) abgefragt und für weitere Auswertungen zwischengespeichert. &lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_pg04.png?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_pg04.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_pg04.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Der erforderliche Sound wird in Abhängigkeit von dem gespeicherten Wert aus „LED_to_Var“ nach setzen eins Mono-Flops abgespielt.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Ablauf&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ablauf&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3054-5693&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;verdrahtung_im_haus&quot;&gt;Verdrahtung im Haus&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_verdrahtung.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_verdrahtung.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_verdrahtung.jpg?w=600&amp;amp;tok=4455fe&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Verdrahtung im Haus&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;verdrahtung_im_haus&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;5694-5797&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;baugruppen_und_teile&quot;&gt;Baugruppen und Teile&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_baugruppen.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_baugruppen.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_baugruppen.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Baugruppen und Teile&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;baugruppen_und_teile&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;5798-5897&amp;quot;} --&gt;
&lt;h4 class=&quot;sectionedit11&quot; id=&quot;stepper_mit_getriebe_163_1260_impulse_fuer_360_aliexpress_​&quot;&gt;Stepper mit Getriebe 1:63  1260 Impulse für 360° (Aliexpress)​&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_stepper.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_stepper.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_stepper.jpg&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Zahnrad 7mm&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 12 Zähne Modul 0,5&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Motorschrittwinkel ​18° (20 Steps)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Spulenwiderstand​ 47,8 ohm&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; ​maximaler Strom ​0,124 A  (6V)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Die Montageplatte wurde demontiert&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Stepper mit Getriebe 1:63  1260 Impulse f\u00fcr 360\u00b0 (Aliexpress)\u200b&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;stepper_mit_getriebe_163_1260_impulse_fuer_360_aliexpress_\u200b&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;5898-6234&amp;quot;} --&gt;
&lt;h4 class=&quot;sectionedit12&quot; id=&quot;treiber_a4988-modul&quot;&gt;Treiber A4988-Modul&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_stepper-modul.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_stepper-modul.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_stepper-modul.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Treiber A4988-Modul&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;treiber_a4988-modul&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;6235-6337&amp;quot;} --&gt;
&lt;h4 class=&quot;sectionedit13&quot; id=&quot;servo_sg90_​​​​&quot;&gt;Servo SG90 ​​​​&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_servo-sg90.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_servo-sg90.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_servo-sg90.jpg&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Torque: 1.5kg/cm(4.8V)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Geschwindigkeit 0.3sec/60 Grad(4.8v)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Betriebsspannung 4.8V&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Größe: 23 x 12.2 x 29mm&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Gewicht: 9g&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Servo SG90 \u200b\u200b\u200b\u200b&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;servo_sg90_\u200b\u200b\u200b\u200b&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:13,&amp;quot;range&amp;quot;:&amp;quot;6338-6584&amp;quot;} --&gt;
&lt;h4 class=&quot;sectionedit14&quot; id=&quot;​​​​​​micro-servo&quot;&gt;​​​​​​Micro-Servo&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/ups-zustellung/ups_micro-servo.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Aups-zustellung&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:ups-zustellung:ups_micro-servo.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/ups-zustellung/ups_micro-servo.jpg&quot; class=&quot;medialeft&quot; align=&quot;left&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Spannungsbereich: 3,5…6 V-&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Stellkraft: 0,25 kg/cm²&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Geschwindigkeit: 0,15 s/60°&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Gewicht: 1,8 g&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Maße (LxBxH): 16,6&amp;times;13,5&amp;times;6 mm&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;\u200b\u200b\u200b\u200b\u200b\u200bMicro-Servo&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;\u200b\u200b\u200b\u200b\u200b\u200bmicro-servo&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:14,&amp;quot;range&amp;quot;:&amp;quot;6585-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 14 Mar 2025 18:39:14 +0000</pubDate>
        </item>
        <item>
            <title>disco</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/disco</link>
            <description>
&lt;p&gt;
Nicht alles was in der MobaLedLib möglich ist, lässt sich auch im Dialogfeld unterbringen. Auch sind die Wünsche der einzelnen Anwender doch sehr unterschiedlich. In diesem Kapitel sollen Abläufe/Sketches vorgestellt werden, die funktionieren und selbst in den Prog_Generator zu erfassen sind.
Positiver Nebeneffekt, durch die Erfassung wird eine gewisse Lernkurve erzielt, die im Idealfall dazu führt, dass man durch Änderung oder Verwendung einzelner Befehle eigene Abläufe generiert, die dann gerne wieder hier veröffentlicht werden können.
&lt;/p&gt;

&lt;h3 class=&quot;sectionedit1&quot; id=&quot;beispiel_einer_discobeleuchtung&quot;&gt;Beispiel einer Discobeleuchtung&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;iframe src=&quot;//www.youtube-nocookie.com/embed/I7EPSJoCCSw?&quot; width=&quot;425&quot; height=&quot;239&quot; style=&quot;width:425px;height:239px;&quot; class=&quot;vshare vshare__none&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; data-domain=&quot;www.youtube-nocookie.com&quot; loading=&quot;lazy&quot;&gt;&lt;h3&gt;&lt;/h3&gt;&lt;/iframe&gt;
&lt;p&gt;
Mit einer oder mehreren RGB-LED kann der Discobetrieb sowie das „Arbeitslicht“ bei Partyende dargestellt werden.
Für die Discobeleuchtung wird das Flashlight benutzt und bei jeder LED die 3 Kanäle mit verschiedenen Zeiten einzeln angesteuert.
Die LED ist doppelt zugewiesen, es ist entweder nur Disco oder Tagesmodus aktiviert.
Die Umschaltung wurde über einen einfachen Schalter gelöst, ist aber auch über DCC-Ansteuerung möglich.
Damit Ihr das gleiche Ergebnis wie in dem Video bekommt, sind im Prog_Generator folgende Zeilen zu erfassen:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/codebeispiele/beispielcode_disco_schnell.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Adisco&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:codebeispiele:beispielcode_disco_schnell.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/codebeispiele/beispielcode_disco_schnell.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Das Umschalten funktioniert auch ohne DCC. Der Trick ist die erste Zeile. Der Befehl „#define TEST_TOGGLE_BUTTONS“ aktiviert die drei Taster der Hauptplatine zum Simulieren der ersten drei DCC Befehlen. (funktioniert nicht, bei Minimalbelegung der Hauptplatine!) Das geht auch wenn kein zweiter (DCC) Arduino vorhanden ist.
&lt;/p&gt;

&lt;p&gt;
Die Vorgaben für den Flash-Befehl werden über den Button Dialog in den Prog_Generator gezogen. Pro RGB-LED ist es notwendig drei Zeilen zu generieren (Rot / Grün / Blau). Je nach Größe der Disco können mehrere RGB-LED eingesetzt werden. Die Zeilen mit Flash… C1, C2, C3 sooft kopieren wie RGB-LED´s angesteuert werden sollen
Für das Arbeitslicht kann man auf den Dialog „House“ zurückgreifen. Wichtig ist hier, dass der Eingang invertiert wird.
Dann ist entweder die Disko oder das normale Licht an. 
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/codebeispiele/auswahlmenue_house.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Adisco&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:codebeispiele:auswahlmenue_house.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/codebeispiele/auswahlmenue_house.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Dadurch dass die „Minimale und Maximale Anzahl der zufällig aktiven Beleuchtungen“ gleich der Anzahl der LEDs ist werden alle LEDs angeschaltet. Durch die Verwendung der „Individuellen Zeiten“ von 0 werden die Lichter sofort aktiviert.
Mit dem Schalter „Eingang invertieren“ ist die Beleuchtung an, wenn die Disco aus ist. Hier wurde als Beispiel der Effekt „Neon_LIGHTL“ verwendet, mit dem mehrere Neonlichter in einem größeren Raum simuliert werden. (Hier können auch andere Effekte ausgewählt werden-einfach mal ausprobieren!)
&lt;/p&gt;

&lt;p&gt;
Wenn man auch einen „Tag“ Modus haben will bei dem weder Neonlichter noch Disco aktiv ist, dann kann man zwei DCC Adressen vergeben. Das sieht dann so aus: 
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/codebeispiele/tagmodus.png?id=anleitungen%3Aspezial%3Acodevorlagen%3Adisco&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:codebeispiele:tagmodus.png&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/codebeispiele/tagmodus.png&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Man könnte die Disco noch weiter perfektionieren. Es könnten verschiedene Beleuchtungsvarianten erstellt werden welche zu verschiedenen Musikstücken passen (Langsam, Schnell, …). Man könnte eine Spiegelkugel einbauen und, und, und …
&lt;/p&gt;

&lt;p&gt;
Tipp für eine Variante: Nutzt statt „Flash“ den Dialog „Blinker“ oder „Blinker-HD“, dann habt Ihr auch eine Variante für Schmuse-Songs!
&lt;/p&gt;

&lt;p&gt;
Dieses Beispiel haben Dominik (Moba_Nicki) und Hardi zur Verfügung gestellt.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Beispiel einer Discobeleuchtung&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;beispiel_einer_discobeleuchtung&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;555-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 27 Sep 2020 12:17:20 +0000</pubDate>
        </item>
        <item>
            <title>sound_servoplatine</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/sound_servoplatine</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;sound_servoplatine&quot;&gt;Sound Servoplatine&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;br/&gt;

Über die Servo-Platine 510 können drei Soundmodule angesteuert werden. 
&lt;br/&gt;

Es werden dabei JQ6500 Module oder MP3-TF16-p/DFPlayer Mini Module verwendet. Dabei spielt es keine Rolle ob nur JQ6500 oder nur MP3-TF16-p/DFPlayer Mini oder diese beliebig gemischt, eingesetzt werden.
&lt;br/&gt;

Die drei Module können auch parallel je einen Sound abspielen.
&lt;br/&gt;

&lt;br/&gt;

Das JQ6500 hat dabei den Vorteil das es bereits 2 MByte Speicher enthält, was für etliche Soundprojekte ausreichend sein dürfte.
&lt;br/&gt;

Das MP3-TF-16p nutzt hingegen eine MicroSD-Karte mit bis zu 32 GByte und vereinfacht durch die mögliche Ordnerstruktur die Verwaltung der Sounddaten.
&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Sound Servoplatine&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;sound_servoplatine&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-681&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit2&quot; id=&quot;vorbereitung_hardware&quot;&gt;Vorbereitung Hardware&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Vorbereitung Hardware&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;vorbereitung_hardware&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;682-717&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;attiny_85&quot;&gt;ATTiny 85&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Als Servoplatine eignet sich jede 510DE-Platine, bestückt als Servoplatine. 
&lt;br/&gt;

Die Lötjumper für den Servobetrieb SERVO, SERVO1, SERVO2, SERVO3 müssen geschlossen werden.
&lt;br/&gt;

Zunächst muss der ATTiny für die Servoplatine programmiert werden.
Die Anleitung dazu &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/tiny-uniprog&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:tiny-uniprog&quot; data-wiki-id=&quot;anleitungen:spezial:tiny-uniprog&quot;&gt;Programmierung von ATTinys für Servo, Charlieplexing oder Sound&lt;/a&gt; ist im WIKI zu finden.
Im Pattern-Configurator unter spezielle Module &lt;strong&gt;Servo-MP3&lt;/strong&gt; auswählen.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/pattern_config1.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:pattern_config1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/pattern_config1.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;pattern_config1.jpg&quot; alt=&quot;pattern_config1.jpg&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Das folgende Bild zeigt die Pins am Ausgang der Servo-Platine. Der SIG-J1 - Pin ist mit dem Eingang des ersten Soundmodules zu verbinden, entsprechend J2 mit Modul 2 und J3 mit Modul3.  
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/servo_led_beschriftung_echtbild_top-detail.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:servo_led_beschriftung_echtbild_top-detail.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/servo_led_beschriftung_echtbild_top-detail.jpg?w=300&amp;amp;tok=e4dc6b&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;servo_led_beschriftung_echtbild_top-detail.jpg&quot; alt=&quot;servo_led_beschriftung_echtbild_top-detail.jpg&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;ATTiny 85&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;attiny_85&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;718-1558&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;jq6500_und_mp3-tf16-pdfplayer_mini&quot;&gt;JQ6500 und MP3-TF16-p/DFPlayer Mini&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/jq6500_1.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:jq6500_1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/jq6500_1.jpg?w=400&amp;amp;tok=d2bafb&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot; &quot; alt=&quot; &quot; width=&quot;400&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/mp3-tf-16p_1.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:mp3-tf-16p_1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/mp3-tf-16p_1.jpg?w=400&amp;amp;tok=b365bb&quot; class=&quot;mediaright&quot; align=&quot;right&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;JQ6500 und MP3-TF16-p\/DFPlayer Mini&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;jq6500_und_mp3-tf16-pdfplayer_mini&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1559-1743&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit5&quot; id=&quot;verdrahtung&quot;&gt;Verdrahtung&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Die drei Ausgänge (SIG) der Servo-Platine werden nun über je einen 1 kOhm Widerstand mit den Eingängen (RX) der Sound-Module verbunden.
&lt;br/&gt;

Die Versorgungsspannung sollte über eine Verteilerplatine mit angeschlossener stabiler Spannungsversorgung erfolgen, da die Leistung an der Hauptplatine zur Versorgung der Sound-Module nicht ausreicht.
&lt;br/&gt;

Die 470µF Elektrolytkondensatoren dienen als Puffer für die recht hohen Einschaltströme der Soundmodule.
&lt;br/&gt;

Eine separate 5V Spannungsversorgung ist ebenfalls möglich.
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/module1.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:module1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/module1.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Als weitere Möglichkeit bietet sich der Umbau einer unbestückten 501de_Soundplatine (MP3-TF-16p) an:
&lt;/p&gt;
&lt;div class=&quot;table sectionedit6&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/501de_platine_direkt_01.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:501de_platine_direkt_01.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/501de_platine_direkt_01.jpg?w=200&amp;amp;tok=db229b&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; &lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/501de_platine_direkt_02.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:501de_platine_direkt_02.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/501de_platine_direkt_02.jpg?w=200&amp;amp;tok=aa5cab&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/501de_platine_direkt_03.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:501de_platine_direkt_03.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/501de_platine_direkt_03.jpg?w=200&amp;amp;tok=ba9321&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;..&quot; alt=&quot;..&quot; width=&quot;200&quot; /&gt;&lt;/a&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;&lt;span style=&#039;color:#ed1c24; &#039;&gt;Drahtbrücke (rot)&lt;/span&gt; an der Oberseite&lt;span style=&#039;color:#efe4B0; &#039;&gt;……..&lt;/span&gt;&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;em class=&quot;u&quot;&gt;Buchsenleisten:&lt;/em&gt; 2&amp;times;8 Soundmodul&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Widerstand 1kOhm an der Unterseite&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;R6 Widerstand 1Ohm &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;1&amp;times;3 &lt;span style=&#039;color:#ed1c24; &#039;&gt;rot(VCC)&lt;/span&gt;, schwarz(GND), &lt;span style=&#039;color:#ffc90e; &#039;&gt;gelb(SIG)&lt;/span&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;Jumper SJ1 schließen &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;Keramikkondensator 100nf&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;&lt;span style=&#039;color:#ed1c24; &#039;&gt;ACHTUNG-ServoAnschluss rot/schwarz vertauscht&lt;/span&gt; &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt;C6 Elko 470µF&lt;/td&gt;&lt;td class=&quot;col1&quot;&gt;1&amp;times;2 Lautsprecher &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;2449-3112&amp;quot;} --&gt;
&lt;p&gt;
&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Verdrahtung&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;verdrahtung&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1744-3115&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit7&quot; id=&quot;sd_karte&quot;&gt;SD Karte&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Die Verzeichnisstruktur der Sounddateien auf der SD-Karte ist relativ starr vorgeschrieben. Es können Sounddateien (wahlweise im mp3- oder wav-Format) in folgende Verzeichnisse der SD-Karte abgelegt werden:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Wurzelverzeichnis (Dateinamen 4-stellig 0001.mp3 etc.)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Verzeichnis ADVERT (Dateinamen 4-stellig)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Verzeichnis mp3 (Dateinamen 4-stellig)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Verzeichnisse 01 bis 32 – (Dateinamen 3-Stellig 001.mp3 etc.)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Es werden nur die ersten Zeichen der Dateinamen ausgewertet. Der tatsächliche Dateiname kann länger sein. Damit sind Dateinamen der Art
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;0023Yesterday.mp3&lt;/pre&gt;

&lt;p&gt;
möglich. Dieser Dateiname wird vom Soundmodul als „0023.mp3“ behandelt. Das erleichtert den Umgang mit den Sounddateien deutlich und sollte ausgiebig genutzt werden.
&lt;br/&gt;

&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;SD Karte&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;sd_karte&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3116-3897&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit8&quot; id=&quot;programm-generator&quot;&gt;Programm-Generator&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Im Prog-Gen gibt es für den Servo-Sound folgende Befehle:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/macroauswahl_2.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:macroauswahl_2.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/macroauswahl_2.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

Nach einer &lt;strong&gt;Neuprogrammierung&lt;/strong&gt; des ATTiny sind die Ausgänge wie folgt vorbelegt:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  SERVO1		JQ6500			PIN 5 des ATTiny PB0(MOSI)
  SERVO2		MP3-TF-16p		PIN 6 des ATTiny PB1(MISO)
  SERVO3		JQ6500			PIN 7 des ATTiny PB2(SCK/ADC1)&lt;/pre&gt;

&lt;p&gt;
Möchte man andere Modultypen anschließen, so muss man &lt;strong&gt;einmalig&lt;/strong&gt; die verwendeten Module mit dem Befehl &amp;lt;Soundmodul definieren&amp;gt; &lt;em&gt;MP3_SET_TYPE&lt;/em&gt; einstellen.
&lt;br/&gt;

Der ATTiny merkt sich diese Einstellung, daher kann man das einmal nach der Installation mit ein paar Zeilen im Programmgenerator machen.
&lt;br/&gt;

Eine Änderung ist nur dann notwendig, wenn die angeschlossenen Modul-Typen verändert werden.
&lt;br/&gt;

Die Einstellungen werden im Beispiel mit den Tastern SwitchD1-D3 auf der Hauptplatine programmiert:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/proggen_type_definieren.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:proggen_type_definieren.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/proggen_type_definieren.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;  neu - SERVO1 J1 = MP3-TF-16p Modul
  neu - SERVO2 J2 = JQ6500 Modul
  neu - SERVO3 J3 = MP3-TF-16p Modul&lt;/pre&gt;

&lt;p&gt;
&lt;br/&gt;

&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;
Beispiel der Soundsteuerung mit den Befehlen:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/prog-gen_1.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:prog-gen_1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/prog-gen_1.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
In den Zeilen 100-102 wird der an die Sound-Platine angeschlossene Modultyp festgelegt.
Diese Befehle müssen nur einmalig gesendet werden. Der ATTiny speichert die Einstellung. Eine Änderung ist nur dann notwendig, wenn Änderungen bei den angeschlossenen Modul-Typen vorgenommen werden.
Im Beispiel
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Ch1 → JQ6500&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Ch2 → MP3-TF16-p&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Ch3 → MP3-TF16-p&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Zeile 104 - 106:
 legt den Ausgang fest auf den der nächste Befehl gehen soll. Hier:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Zeile 104 - Ausgang 1, JQ6500.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Zeile 105 – Ausgang 2, MP3-TF16-p&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Zeile 106 – Ausgang 3, MP3-TF16-p&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;Beispiel:&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DCC Befehl 90 und anschließend 95 spielt Track 1 vom JQ6500 ab.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DCC Befehl 91 und anschließend 95 spielt Track 1 vom ersten MP3-TF16-p ab.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DCC Befehl 92 und anschließend 95 spielt Track 1 vom zweiten MP3-TF16-p ab.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DCC Befehl 91 und anschließend 93 verringert die Laustärke beim zweiten MP3-TF16-p.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;Anmerkungen:&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; In der Macroauswahl wird der Hinweis „Sendet einen Befehl an ein MP3-TF-16p-Soundmodul welches über SERVO3 an einer Servoplatine angeschlossen ist“ gegeben. Das trifft so nicht zu, da die Befehle an alle drei Ausgänge gesendet werden können und auch für beide Modultypen gelten. Einschränkungen gibt es natürlich beim JQ 6500, da nur fünf Tracks gespeichert werden können. &lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Alle Befehle an diese ATTiny Soundplatine müssen über &lt;em class=&quot;u&quot;&gt;eine&lt;/em&gt; LED Adresse laufen, im Beispiel LED 1. Sollte es (ungewollt) eine Verschiebung geben mit dem Befehl „next LED -1“ wieder auf die LED Adresse der Sound-Platine zurück gehen. &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/bauanleitungen/501de_sound_mp3tf16_v1-1#besonderheit_gleicher_led-kanal&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/anleitungen/bauanleitungen/501de_sound_mp3tf16_v1-1#besonderheit_gleicher_led-kanal&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Hilfe&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Über den &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/bauanleitungen/100de_hauptplatine_v1-6_zubehoer&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:bauanleitungen:100de_hauptplatine_v1-6_zubehoer&quot; data-wiki-id=&quot;anleitungen:bauanleitungen:100de_hauptplatine_v1-6_zubehoer&quot;&gt;Kleinen Verteiler&lt;/a&gt; mit der Copy-Funktion, Einstellung über den Jumper, kann man parallel Test-LEDs anschließen und optisch die Funktion überprüfen. &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Programm-Generator&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;programm-generator&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;3898-7029&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;steuerung_ueber_dcccan-befehle&quot;&gt;Steuerung über DCC/CAN-Befehle&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/logik1.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:logik1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/logik1.jpg?w=300&amp;amp;tok=e27295&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Vor jedem Sound-Befehl kann das Modul ausgewählt werden auf dem sich die Sound-Datei befindet. So können Sound-Dateien in unterschiedlicher Reihenfolge von den drei Modulen abgespielt werden. Die Logik stellt sicher, dass zunächst über den ATTiny das Modul ausgewählt wird, der Befehl umgesetzt werden kann und dann, mit zeitlichem Verzug, der Track ausgewählt oder eine andere Funktion des Moduls aufgerufen wird. 
&lt;br/&gt;

&lt;br/&gt;

&lt;strong&gt;Anmerkung:&lt;/strong&gt;
&lt;br/&gt;

&lt;br/&gt;

Mit den Befehlen &amp;lt;Titel # aus Hauptverzeichnis abspielen&amp;gt; &lt;em&gt;MP3_PLAY_TRACK_ON&lt;/em&gt; und 
&lt;br/&gt;

&amp;lt;Titel # aus mp3 abspielen&amp;gt; &lt;em&gt;MP3_PLAY_MP3_ON&lt;/em&gt; wird das Modul mit den eingetragenen Parametern bereits direkt angesprochen und der gewählte Sound abgespielt. 
&lt;br/&gt;

Leider funktioniert das mit dem Modul JQ6500 nicht zuverlässig. Hier sollte trotzdem eine Vorauswahl mittels Monoflops (wie im Beispiel) getroffen werden.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Steuerung \u00fcber DCC\/CAN-Befehle&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;steuerung_ueber_dcccan-befehle&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;7030-7994&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;beispiele&quot;&gt;Beispiele:&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Im folgenden Beispiel wird bei Aufruf des:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DCC-Befehl „3“ der erste Sound des ersten Moduls (JP6500) abgerufen&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DCC-Befehl „4“ der erste Sound des zweiten Moduls (DFPlayer Mini) abgerufen&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; DCC-Befehl „5“ der erste Sound des dritten Moduls (DFPlayer Mini) abgerufen&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/prog-gen_3.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:prog-gen_3.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/prog-gen_3.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Über parallel angeschlossene Test-LEDs, Stichwort Mini-Verteiler, kann der Ablauf optisch sehr gut verfolgt werden.
Andere/kürzere Zeitintervalle für die MonoFlops sind möglich und ggf. durch Tests zu ermitteln.
&lt;/p&gt;

&lt;p&gt;
In Zeile 133 wird über die Variable MF12u13 zeitgleich mit dem dazu gehörigen Geräusch vom Sound-Modul 2 ein Schweißlicht ausgelöst.
Geräuschlänge und Länge des Lichts können leicht durch Anpassung des &lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/schweisslicht&quot; class=&quot;wikilink1&quot; title=&quot;anleitungen:spezial:codevorlagen:schweisslicht&quot; data-wiki-id=&quot;anleitungen:spezial:codevorlagen:schweisslicht&quot;&gt;Schweisslicht&lt;/a&gt;  über den Pattern-Configurator angepasst werden.
&lt;/p&gt;

&lt;p&gt;
Damit man den Schweißer nicht immer persönlich wecken muss, hier eine Lösung mit der Zufallsschaltung (Random-Funktion).
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/servosound/prog-gen_4.jpg?id=anleitungen%3Aspezial%3Asound_servoplatine&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:servosound:prog-gen_4.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/servosound/prog-gen_4.jpg&quot; class=&quot;mediacenter&quot; loading=&quot;lazy&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Beispiele:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;beispiele&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;7995-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 29 Sep 2024 19:37:36 +0000</pubDate>
        </item>
        <item>
            <title>laubblaeser</title>
            <link>https://wiki.mobaledlib.de/anleitungen/spezial/codevorlagen/laubblaeser</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;vorstellung_des_laubblaesers_von_juergen_mit_viel_unterstuetzung_durch_ulrich_und_hardi&quot;&gt;Vorstellung des Laubbläsers von Jürgen mit viel Unterstützung durch Ulrich und Hardi&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Vorstellung des Laubbl\u00e4sers von J\u00fcrgen mit viel Unterst\u00fctzung durch Ulrich und Hardi&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;vorstellung_des_laubblaesers_von_juergen_mit_viel_unterstuetzung_durch_ulrich_und_hardi&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;3-106&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;der_laubblaeser_wie_programmieren&quot;&gt;Der Laubbläser, wie programmieren?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Zunächst mal ein paar Worte zum Laubbläser vorab.&lt;br/&gt;

Das Programm ist für meine Hardwarespezifikation entstanden und muss evtl. an einigen Stellen &lt;br/&gt;

abgeändert werden. So habe ich z.B. noch auf Pos. 1 und Pos.2 auf der SD-Karte Sounds, welche hier&lt;br/&gt;

nicht berücksichtigt werden, daher kommt der Sound bei mir von der Soundnummer 3,4 und 5.&lt;br/&gt;

Mit dem Soundmodul können 14 Sounds (Hardi ich weiß, auch mehr mit tricksen) wiedergegeben &lt;br/&gt;

werden. Es können also noch weitere Sound für andere Aufgaben genutzt werden, dann darf aber &lt;br/&gt;

der Laubbläser nicht laufen, da sonst der Sound während der Bewegung nicht wiedergegeben wird.&lt;br/&gt;

So nun lasst uns aber starten. Anschauen werden wir als erstes die
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Der Laubbl\u00e4ser, wie programmieren?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;der_laubblaeser_wie_programmieren&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;107-864&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;hardwarekonfigurationausgangslage&quot;&gt;Hardwarekonfiguration/ Ausgangslage&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Grundplatine 100&lt;/strong&gt; bestückt in Grundversion
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Adapterplatine 200&lt;/strong&gt; mit externem Stromanschluss 5Volt, hier sind angeschlossen:&lt;br/&gt;

&lt;strong&gt;Stecker 1&lt;/strong&gt; Soundmodul MP3-TF-16P Version 1.1 mit Mini-SD-Karte mit 2 MP3-Dateien&lt;br/&gt;

&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;1x Sound Leerlauf und 1x Sound Vollgas&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt;1x MP3-Sound „absolute Stille“&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;Stecker 2&lt;/strong&gt; Servo-Platine mit 1 Servo (Nummer 1)
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Hardwarekonfiguration\/ Ausgangslage&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;hardwarekonfigurationausgangslage&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;865-1277&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit4&quot; id=&quot;was_soll_passieren&quot;&gt;Was soll passieren?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Der Mann mit dem Laubbläser startet im Leerlauf&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Der Mann bewegt sich für 9 Sekunden, Sound Vollgas&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Der Mann macht Pause für 10 Sekunden, Sound Leerlauf&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; wiederholt das bis der Ausschalter gedrückt wird&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Der Sound ist aus, das Geschehen wird komplett gestoppt&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Was soll passieren?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;was_soll_passieren&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1278-1602&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;was_gilt_es_zu_programmieren&quot;&gt;Was gilt es zu programmieren?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;1. Pattern-Ablauf Bewegung (für den Servo)&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;2. Pattern-Ablauf Sound (für das Soundmodul)&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;3. Programmierung des Prog_Generators&lt;br/&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Was gilt es zu programmieren?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;was_gilt_es_zu_programmieren&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;1603-1789&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit6&quot; id=&quot;was_muessen_wir_ueber_das_soundmodul_wissen&quot;&gt;Was müssen wir über das Soundmodul wissen?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Das unter dem Soundmodul befindliche WS2811 Modul wird über die Kanäle Rot und Grün &lt;br/&gt;

angesteuert und gibt die Schalterbefehle und über Helligkeitswerte an das Modul weiter. &lt;br/&gt;

Dabei werden Widerstandskodierte Tasten simuliert, mit denen das Modul normalerweise angesteuert wird.  &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
So nun müssen wir noch die Helligkeitswerte für die Sounds rausbekommen. &lt;br/&gt;

Dies „erforschen“ wir über die „MobaLedLib.h“ Bibliothek.&lt;br/&gt;

Die Datei finden wir unter Dokumente/Arduino/libraries/MobaLedLib/src/MobaLedLib.h&lt;br/&gt;

Diese öffnen wir mit z.B. dem Texteditor und scrollen bis zum&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;//------------------------------------- MP3-TF-16P Sound modul with 4.7uF capacitor and 2KHz WS2811 ---------------------- 13.10.21:\\
// The new WS2811 modules (model year &amp;gt;2016) generate a 2 kHz PWM Signal (Old 400 Hz)\\
// Here the filter capacitor could be reduced 4.7uF (Instead of 22uF) to support also the new\\
// MP3-TF-16P modul which use the GDB3200B chip. With 22uF the new sound modules didn&amp;#039;t work.\\
// Modules with the old MH2024K chip could also be used this macros if the 4.7uF capacitor is used.\\&lt;/pre&gt;

&lt;p&gt;
&lt;br/&gt;

Hier suchen wir dann nach 3 ADKEYs, bei mir ist es Sound 3,4 und 5&lt;br/&gt;

Zur Vereinfachung hier die Tabelle für die Helligkeitswerte:&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;
&lt;div class=&quot;table sectionedit7&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;Helligkeit &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; ADKey1 &lt;/th&gt;&lt;th class=&quot;col3 leftalign&quot;&gt; ADKey2   &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; #define SOUND_New_ADKEY10 &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  11  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  Play Mode  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  14  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; #define SOUND_New_ADKEY9  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  18  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  U/SD/SPI  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  13  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; #define SOUND_New_ADKEY8  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  23  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  Loop All  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  12  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; #define SOUND_New_ADKEY7  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  27  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  Pause/Play  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  11  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0 leftalign&quot;&gt; #define SOUND_New_ADKEY6  &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  31  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  Prev/Vol-  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  10  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; #define SOUND_New_ADKEY5 &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  39  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  Next/Vol+  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;   9  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; #define SOUND_New_ADKEY&lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;4&lt;/span&gt;&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  &lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;53&lt;/span&gt;&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  &lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;4&lt;/span&gt;&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  8  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; #define SOUND_New_ADKEY&lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;3&lt;/span&gt;&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  &lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;75&lt;/span&gt;&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  &lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;3&lt;/span&gt;&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  7  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; #define SOUND_New_ADKEY2 &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  148  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  2  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  6  &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; #define SOUND_New_ADKEY&lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;1&lt;/span&gt;&lt;/strong&gt; &lt;/td&gt;&lt;td class=&quot;col1 centeralign&quot;&gt;  &lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;255&lt;/span&gt;&lt;/strong&gt;  &lt;/td&gt;&lt;td class=&quot;col2 centeralign&quot;&gt;  1  &lt;/td&gt;&lt;td class=&quot;col3 centeralign&quot;&gt;  &lt;strong&gt;&lt;span class=&quot;wrap_em &quot;&gt;5&lt;/span&gt;&lt;/strong&gt;  &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;table&amp;quot;,&amp;quot;secid&amp;quot;:7,&amp;quot;range&amp;quot;:&amp;quot;3103-3859&amp;quot;} --&gt;
&lt;p&gt;
&lt;br/&gt;

Wir brauchen also die Werte Sound 3 = 75 und Sound 4 = 53, sowie Sound 5 = 255&lt;br/&gt;

um die Sounds ansprechen zu können. Diese merken wir uns.&lt;br/&gt;

&lt;br/&gt;

Um die Werte schicken zu können, benötigen wir noch die Schaltzeiten,&lt;br/&gt;

diese sind &lt;strong&gt;&lt;em class=&quot;u&quot;&gt;200 ms&lt;/em&gt;&lt;/strong&gt; und &lt;strong&gt;&lt;em class=&quot;u&quot;&gt;10 ms&lt;/em&gt;&lt;/strong&gt;.&lt;br/&gt;

&lt;br/&gt;

Diese finden wir hier im Editor:&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;//Sound functions could be disable / enabled with the variable SI_Enable_Sound \\
//#define Sound_ADKey( LED, InCh, ADKey1, ADKey2)\\ 
//PatternTE2(LED,28,InCh,SI_Enable_Sound,2,0,255,0,PM_SEQUENZ_NO_RESTART,200 ms,10 ms,ADKey1,ADKey2,0,0)\\&lt;/pre&gt;

&lt;p&gt;
Nun können wir den Editor wieder schließen. &lt;br/&gt;

Falls was versehentlich verändert wurde &lt;span class=&quot;wrap_hi &quot;&gt;&lt;em&gt;&lt;em class=&quot;u&quot;&gt;&lt;strong&gt;nicht&lt;/strong&gt;&lt;/em&gt;&lt;/em&gt;&lt;/span&gt; speichern!!!&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Was m\u00fcssen wir \u00fcber das Soundmodul wissen?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;was_muessen_wir_ueber_das_soundmodul_wissen&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:6,&amp;quot;range&amp;quot;:&amp;quot;1790-4555&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit8&quot; id=&quot;was_muessen_wir_ueber_die_servoansteuerung_wissen&quot;&gt;Was müssen wir über die Servoansteuerung wissen?&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Auch die Servo-Platine setzt die vom Verteiler kommenden RGB-Signale um.&lt;br/&gt;

Somit wird ein Kanal einem Servo auf der Servo-Platine zugeordnet (z.B. Kanal 1 = Rot)&lt;br/&gt;

Die Bewegung wird über den Helligkeitswert des Kanals (z.B. rot) in den Werten von 10-210 gesteuert.&lt;br/&gt;
(für diejenigen, die es genauer wissen möchten: \\&lt;a href=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/blob/master/Quelldateien/Servo State Diagram.pdf&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://github.com/Hardi-St/MobaLedLib_Docu/blob/master/Quelldateien/Servo State Diagram.pdf&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Servo State Diagram&lt;/a&gt;)&lt;br/&gt;

&lt;br/&gt;

Die Servo-Einrichtung für die Geschwindigkeit und die Drehwinkel ist im Wiki beschrieben,&lt;br/&gt;

hier gehe ich nicht gesondert drauf ein. Hier der Link zur Anleitung:&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/tiny-uniprog?do=export_pdf&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://wiki.mobaledlib.de/anleitungen/spezial/tiny-uniprog?do=export_pdf&quot; rel=&quot;ugc nofollow noopener&quot;&gt;https://wiki.mobaledlib.de/anleitungen/spezial/tiny-uniprog?do=export_pdf&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Was m\u00fcssen wir \u00fcber die Servoansteuerung wissen?&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;was_muessen_wir_ueber_die_servoansteuerung_wissen&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:8,&amp;quot;range&amp;quot;:&amp;quot;4556-5309&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit9&quot; id=&quot;so_nun_geht_es_an_die_eigentliche_programmierung_des_pattern_1&quot;&gt;So nun geht es an die eigentliche Programmierung des Pattern 1:&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Als erstes machen wir ein neues Blatt (Einstellungen übernehmen? Nein)&lt;br/&gt;

Dann geben wir dem Blatt einen Namen wie zum Beispiel: Laubbläser bewegen&lt;br/&gt;

&lt;br/&gt;

Dann setzen wir im gelben Kasten folgende Werte:&lt;br/&gt;

&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/laubblaeser/laubblaeser1.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Alaubblaeser&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:laubblaeser:laubblaeser1.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/laubblaeser/laubblaeser1.jpg?w=250&amp;amp;tok=9dc691&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;250&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

Der „Startkanal der RGB LED = 1“ definiert, dass der Servo an den Stecker SV2 angeschlossen ist. &lt;br/&gt;

Das ist eine recht verwirrende Geschichte. Tatsächlich ist das Servo an SV1 angeschlossen,&lt;br/&gt;

aber der ATTiny wurde versehentlich falsch konfiguriert.&lt;br/&gt;

Beim Programmieren wurde davon ausgegangen, dass es eine neue Servo Platine ist.&lt;br/&gt;

Tatsächlich ist es aber noch eins aus der ersten Charge, bei der der rote und grüne Kanal am &lt;br/&gt;

WS2811 vertauscht sind.&lt;br/&gt;

Das heißt, wenn die &lt;strong&gt;Programmierung richtig&lt;/strong&gt; ist, steht der &lt;strong&gt;„Startkanal der RGB LED auf 0“&lt;/strong&gt;.
&lt;br/&gt;

Benennen das Makro mit dem Namen: Laubbläser bewegen.&lt;br/&gt;

Danach gehen wir in die Tabelle und füllen diese wie hier aus:&lt;br/&gt;

&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/laubblaeser/laubblaeser2.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Alaubblaeser&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:laubblaeser:laubblaeser2.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/laubblaeser/laubblaeser2.jpg?w=600&amp;amp;tok=895994&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

Die Zeile „Spalte Nr.“ benennt unseren Servo (im Beispiel Servo1)&lt;br/&gt;

Spalte Nr.1 mit Dauer 1 Sec und Wert 10, sorgt dafür, dass der Servo in die Ausgangsposition fährt&lt;br/&gt;

(Damit der Arbeiter an sein Bier kommt &lt;img src=&quot;https://wiki.mobaledlib.de/lib/images/smileys/smile2.svg&quot; class=&quot;icon smiley&quot; alt=&quot;=)&quot; /&gt;)&lt;br/&gt;

Spalte Nr. 2 schaltet den Servo ab, damit er nicht brummt.&lt;br/&gt;

&lt;br/&gt;

In die Goto Tabelle geben wir den Wert E für Ende ein, das beendet die erste Startsequenz, &lt;br/&gt;

welche wir später für den Sound brauchen.&lt;br/&gt;

Spalte Nr. 3 wartet für 10 Sec ohne den Servo zu bewegen, in die Goto Tabelle geben wir den &lt;br/&gt;

Wert P für Position Start und S für Start ein.&lt;br/&gt;

(die Werte beim Servo sind 10 bis 210 (min bzw. max.) um hier die Bewegungen zu erzeugen&lt;br/&gt;

d.h. Wert 10 der z.B. linke Anschlag und 210 z.B. der rechte Anschlag.&lt;br/&gt;

Den tatsächlichen Anschlag bestimmt man im Farbtest Programm über die Servo Einstellungen.&lt;br/&gt;

Die Werte 10 und 210 liegen außerhalb des normalen Bewegungsbereichs.&lt;br/&gt;

Das wird gemacht, damit der Servo nicht brummt. Das Brummen entsteht weil die &lt;br/&gt;

Messung der WS2811 Helligkeiten und die Messung der Position im Servo geringfügige Störungen haben.&lt;br/&gt;

&lt;br/&gt;

Spalte Nr. 4 bewegt in 1 Sec den Servo auf den anderen Ausschlag&lt;br/&gt;

Spalte Nr. 5 bewegt in 1 Sec den Servo wieder zurück zum ersten Anschlag&lt;br/&gt;

Spalten 6-12 machen das Gleiche wie die Spalten 3 bis 5.&lt;br/&gt;

&lt;br/&gt;

In Spalte 12 tragen wir in die Goto-Tabelle noch den Wert G1 ein, dieser bewirkt das ab der &lt;br/&gt;

Spalte 3 das Ganze Spiel bis zur Reihe 12 wiederholt wird, bis es beendet wird z.B. durch einen Taster.&lt;br/&gt;

Nun müsste die die Tabelle wie oben ausgefüllt aussehen.&lt;br/&gt;

Die Anmerkungen unter der Tabelle sind nur zur Veranschaulichung was wo passiert.&lt;br/&gt;

&lt;br/&gt;

&lt;strong&gt;Speichern &lt;em class=&quot;u&quot;&gt;nicht&lt;/em&gt; vergessen!!&lt;/strong&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;So nun geht es an die eigentliche Programmierung des Pattern 1:&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;so_nun_geht_es_an_die_eigentliche_programmierung_des_pattern_1&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:9,&amp;quot;range&amp;quot;:&amp;quot;5310-8120&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit10&quot; id=&quot;so_nun_geht_es_an_die_programmierung_des_pattern_2_fuer_den_sound&quot;&gt;So nun geht es an die Programmierung des Pattern 2 für den Sound&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Hierfür machen wir ein neues Blatt (Einstellungen übernehmen? Nein)&lt;br/&gt;

Dann tragen wir wieder die Werte in den gelben Kasten ein:&lt;br/&gt;

&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/laubblaeser/laubblaeser3.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Alaubblaeser&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:laubblaeser:laubblaeser3.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/laubblaeser/laubblaeser3.jpg?w=250&amp;amp;tok=b04780&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;250&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

Dann geben wir dem Blatt wieder einen Namen wie zum Beispiel: Laubbläser Sound&lt;br/&gt;

Danach gehen wir wieder in die Tabelle und füllen diese wie folgt aus:&lt;br/&gt;

&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/laubblaeser/laubblaeser4.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Alaubblaeser&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:laubblaeser:laubblaeser4.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/laubblaeser/laubblaeser4.jpg?w=600&amp;amp;tok=5b79c4&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

Beginnen wir beim Ausfüllen neben LED-Nr. 1 und LED-Nr.2 die Spaltennamen mit ADKey1 und ADKey2 aus.&lt;br/&gt;

Wir erinnern uns, das sind die Ansteuerwerte aus der Editor Geschichte von oben. &lt;br/&gt;

&lt;br/&gt;

Danach gehen wir in Spalte 1 unter Dauer und geben hier 200ms ein (den Wert haben wir &lt;br/&gt;

oben als Zeitwert rausgesucht) und bei ADkey2 die 255 für den Helligkeitswert für &lt;br/&gt;

Sound 5 ein. Nun haben wir Sound 5 („Stille“-Ton) definiert.&lt;br/&gt;

&lt;br/&gt;

Als nächstes folgt in Spalte 2 wieder für 100 ms kein Signal, also „Taste“ loslassen.&lt;br/&gt;

Das wird benötigt, damit das Soundmodul den „Tastendruck“ akzeptiert.&lt;br/&gt;

&lt;br/&gt;

In der Goto-Tabelle wird mit E das Ende der 1. Sequenz definiert.&lt;br/&gt;

&lt;br/&gt;

Weiter geht es mit der Spalte 3 in der wir bei ADKey1 den Wert 75 als Helligkeitswert &lt;br/&gt;

für den Sound 3 ein und aktivieren diesen mit 200 ms, in der Goto-Tabelle tragen wir PS ein,&lt;br/&gt;

Bedeutung wie oben: Wert P für Position-Start und S für Start der 2. Sequenz (Schleife)&lt;br/&gt;

&lt;br/&gt;

Spalte 4 füllen wir die Dauer mit 9800 ms und die beiden ADKeys mit den Werten 0&lt;br/&gt;

Nun haben wir die Gesamtdauer für den Leerlauf definiert (Spalte 3+4 geben die 10 Sec)&lt;br/&gt;

&lt;br/&gt;

Spalte 5 füllen wir wieder mit 200 ms und den ADKey1 mit dem Wert 53 als Helligkeitswert für Sound 4&lt;br/&gt;

und noch die Spalte 6 mit Dauer 8800 ms und die beiden ADKeys wieder mit den Werten 0 &lt;br/&gt;

Nun haben wir die Gesamtdauer für Vollgas definiert (Spalte 5+6 ergeben die 9 Sec), &lt;br/&gt;

jetzt geben wir in Goto-Tabelle noch G1 ein um die 2. Sequenz dauerhaft zu wiederholen&lt;br/&gt;

&lt;br/&gt;

Die Zeile ADKey2 füllen wir von Zelle 2-6 mit je einer 0&lt;br/&gt;

&lt;br/&gt;

&lt;strong&gt;Das Speichern &lt;em class=&quot;u&quot;&gt;nicht&lt;/em&gt; vergessen!!&lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;So nun geht es an die Programmierung des Pattern 2 f\u00fcr den Sound&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;so_nun_geht_es_an_die_programmierung_des_pattern_2_fuer_den_sound&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:10,&amp;quot;range&amp;quot;:&amp;quot;8121-10255&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit11&quot; id=&quot;jetzt_noch_programmierung_im_prog_generator&quot;&gt;jetzt noch Programmierung im Prog_Generator&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
im Prog_Generator machen wir uns, indem wir unten auf dem Reiter DCC einen Rechtsklick&lt;br/&gt;

machen unter „Verschieben oder Kopieren“ das Unterfenster auf und setzen einen Haken &lt;br/&gt;

bei „Kopie erstellen“ dann Klick auf „OK„&lt;br/&gt;

&lt;br/&gt;

Zeile eins sollte die Heartbeat beinhalten und angehakt sein in Spalte B&lt;br/&gt;

&lt;br/&gt;

Nun gehen wir nochmal in den Pattern_Generator und übertragen.&lt;br/&gt;

Die Datei „Laubbläser Sound“, diese fügen wir im Prog_Generator unter der Zeile z.B. 4 ein.&lt;br/&gt;

Dann geben wir unter „Adresse oder Name“ eine DCC-Adresse ein (z.B. 1) und wählen auf&lt;br/&gt;

Nachfrage den Schalter Rot (es werden automatisch rot und grün angelegt)&lt;br/&gt;

&lt;br/&gt;

Dann in der nächsten Zeile 5 machen wir einen Doppelklick, dann sollte sich das &lt;br/&gt;

Kontextmenü mit den Auswahlmöglichkeiten öffnen.&lt;br/&gt;

Unter Manipulation wählen wir LED manipulieren aus (dazu muss der Expertenmodus aktiviert sein!!) &lt;br/&gt;

Parameter 0 als Änderung von StartLedNr. eingeben und Kanal 0 lassen.&lt;br/&gt;

&lt;br/&gt;

Nun gehen wir nochmal in den Pattern_Generator und übertragen die &lt;br/&gt;

Datei „Laubbläser bewegen“, wählen die Zeile 6 aus und fügen diese ein.&lt;br/&gt;

Dann geben wir wieder wie zuvor die gleiche DCC-Adresse (z.B. 1) ein und wählen auf Nachfrage den &lt;br/&gt;

Schalter Rot aus. Es werden wieder Rot und Grün angelegt.&lt;br/&gt;

&lt;br/&gt;

Hier auch wieder &lt;strong&gt;das Speichern &lt;em class=&quot;u&quot;&gt;nicht&lt;/em&gt; vergessen!!&lt;/strong&gt;&lt;br/&gt;

&lt;br/&gt;

So sollte das Programm im Prog_Generator aussehen:&lt;br/&gt;

&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_detail/bilder/anleitungen/spezial/laubblaeser/laubblaeser5.jpg?id=anleitungen%3Aspezial%3Acodevorlagen%3Alaubblaeser&quot; class=&quot;media&quot; title=&quot;bilder:anleitungen:spezial:laubblaeser:laubblaeser5.jpg&quot;&gt;&lt;img src=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/laubblaeser/laubblaeser5.jpg?w=600&amp;amp;tok=70ae22&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

Nun können wir das Programm an den Arduino schicken.&lt;br/&gt;

&lt;br/&gt;

&lt;br/&gt;



&lt;div class=&quot;webcode&quot;&gt;&lt;iframe  name=&quot;WebCode iFrame&quot;  class=&quot;webCode&quot;  frameborder=0 width=100% srcdoc=&quot;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=UTF-8&amp;quot;&amp;gt;&amp;lt;title&amp;gt;Made by Webcode&amp;lt;/title&amp;gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css&amp;quot;&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body style=&amp;quot;margin:10px&amp;quot;&amp;gt;&amp;lt;!-- The HTML code --&amp;gt;&amp;lt;h2&amp;gt;&amp;lt;span style=&amp;quot;font-size:30pt&amp;quot;&amp;gt;Endlich fertig &amp;lt;/span&amp;gt;&amp;lt;/h2&amp;gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&quot; &gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;br/&gt;

&lt;br/&gt;

Jetzt müsste es, nachdem man in der Excel den Grünen Punkt bei „Laubbläser Sound“ oder &lt;br/&gt;

„Laubbläser bewegen“ anklickt losgehen. &lt;br/&gt;

&lt;br/&gt;

Stoppen kann man das Ganze dann mit dem Roten Punkt.&lt;br/&gt;

Der Servo läuft in die Endposition und der Sound 5 „Stille“ ist zu hören &lt;img src=&quot;https://wiki.mobaledlib.de/lib/images/smileys/biggrin.svg&quot; class=&quot;icon smiley&quot; alt=&quot;:-D&quot; /&gt; für eine Sec.
&lt;br/&gt;

&lt;br/&gt;

&lt;strong&gt;So nun viel Spaß beim Nachbau und Laubblasen&lt;/strong&gt;&lt;br/&gt;

&lt;br/&gt;

Hier habe ich noch ein Video des „rohen“ Zusammenbaus für Euch.&lt;br/&gt;

Die RGB-Matrix zeigt, dass außer dem Laubbläser auch noch viele andere Dinge&lt;br/&gt;

gleichzeitig angesteuert werden können.&lt;br/&gt;

&lt;br/&gt;

&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;jetzt noch Programmierung im Prog_Generator&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;jetzt_noch_programmierung_im_prog_generator&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:11,&amp;quot;range&amp;quot;:&amp;quot;10256-12569&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit12&quot; id=&quot;die_sounds_als_zip-file_zum_download&quot;&gt;Die Sounds als ZIP-File zum Download&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;br/&gt;

&lt;a href=&quot;https://wiki.mobaledlib.de/_media/bilder/anleitungen/spezial/laubblaeser/projekt_laubblaeser_sound.zip&quot; class=&quot;media mediafile mf_zip&quot; title=&quot;bilder:anleitungen:spezial:laubblaeser:projekt_laubblaeser_sound.zip (725.7 KB)&quot;&gt;projekt_laubblaeser_sound.zip&lt;/a&gt;
&lt;br/&gt;

&lt;br/&gt;

&lt;/p&gt;
&lt;iframe src=&quot;//www.youtube-nocookie.com/embed/uRNU_DnirJA?&quot; width=&quot;720&quot; height=&quot;400&quot; style=&quot;width:720px;height:400px;&quot; class=&quot;vshare vshare__none&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; data-domain=&quot;www.youtube-nocookie.com&quot; loading=&quot;lazy&quot;&gt;&lt;h3&gt;&lt;/h3&gt;&lt;/iframe&gt;
&lt;p&gt;
&lt;br/&gt;

© Dieses Projekt wurde durch Jürgen (fromue) zur Verfügung gestellt.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Die Sounds als ZIP-File zum Download&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;die_sounds_als_zip-file_zum_download&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:12,&amp;quot;range&amp;quot;:&amp;quot;12570-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 06 Jan 2025 00:22:49 +0000</pubDate>
        </item>
    </channel>
</rss>
