--- /dev/null
+# Power\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111000000001111100000000111111111111111111000000001111100000000011111000000011111100000001111110000000011111000000001111100000000111110000000011111000000001111100000000111111000000011111100000001111111111111111111000000011111100000001111110000000011111000000001111100000000111110000000011111000000001111100000000111111000000011111100000001111111111111111111000000001111100000000111110000000011111000000001111111111111111110000000011111000000001111100000000111111111111111111000000001111100000000111110000000011111100000001111110000000111111000000001111100000000111110000000011111000000001111100000000111111111111111111000000001111100000000111111111111111111000000000111111111111111110000000001111111111111111100000000011111111111111111000000000111110000000111111000000011111111111111111110000000011111000000011111111111111111110000000011111000000001111111111111111110000000011111111111111111100000000111111111111111111000000001111111111111111110000000011111111111111111111\r
+# Lens\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111110000000011111000000001111111111111111111000000011111000000000111110000000011111000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000011111000000001111111111111111110000000011111000000001111100000000111110000000011111000000001111100000000111110000000011111000000000111100000000011111000000001111111111111111110000000011111000000001111100000000111110000000011111111111111111100000000111110000000011111000000001111111111111111110000000011111000000001111100000000011111000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000011110000000001111111111111111110000000011111111111111111100000000111111111111111110000000001111111111111111110000000011111111111111111000000000111110000000011111000000001111100000000111111111111111111000000001111100000000111111111111111111000000001111111111111111110000000011111000000001111111111111111110000000011111111111111111111\r
+# Picture Mode\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111110000000001111100000000111111111111111111000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000111110000000001111100000000111110000000011111000000001111111111111111110000000011111000000001111100000000111110000000011111000000001111100000000011111000000001111100000000111110000000011111000000001111111111111111110000000011111000000001111100000000111110000000011111111111111111100000000111110000000011111000000000111111111111111110000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000111110000000001111000000000111110000000011111111111111111100000000111110000000011111000000001111100000000111110000000011111000000001111111111111111110000000011111000000001111111111111111110000000011111000000000111111111111111110000000001111100000000111110000000011111111111111111100000000111110000000011111111111111111111\r
+# Picture Adjustment\r
+000000000000000000000000000000000000000000000000000000011111111111111111111111000000000111110000000011111111111111111000000000111110000000011111000000001111100000000111110000000011111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000011111111111111110000000001111100000000111110000000011111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000111111111111111110000000000111100000000011110000000011111000000000111111111111111100000000001111000000000111110000000011111111111111111000000000111110000000011111000000001111100000000111110000000001111000000001111100000000011110000000001111000000000111110000000011111000000001111111111111111100000000011111111111111111000000000111111111111111110000000001111111111111111100000000011111111111111110000000000111111111111111110000000001111100000000111110000000001111111111111111000000000011111111111111110000000001111100000000111111111111111110000000001111111111111111100000000001111000000000111111111111111100000000011111111111111111111\r
+# Memory Load\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111110000000001111100000000111111111111111110000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000011110000000001111100000000111110000000011111000000001111111111111111100000000011111000000001111100000000111110000000011111000000000111100000000011111000000001111100000000111110000000011111000000001111111111111111100000000011111000000001111100000000111110000000011111111111111111000000000111110000000001111000000000111111111111111100000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000111110000000001111000000000111111111111111100000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111111111111111100000000011111111111111111000000000111110000000001111000000000111111111111111100000000001111100000000111110000000011111111111111111000000000111110000000011111111111111111111\r
+# Viera Link\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000000111110000000011111111111111111000000000111110000000011111000000000111100000000111110000000001111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000011111111111111110000000000111100000000111110000000011111000000000111100000000011111000000001111100000000111110000000011111000000001111100000000011111111111111110000000001111100000000111110000000011111000000000111111111111111100000000001111000000000111110000000011111111111111111000000000111110000000011111000000001111100000000111110000000011111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000111111111111111110000000001111100000000111110000000011111111111111111000000000111110000000011111111111111111000000000011110000000001111000000000111111111111111100000000001111111111111111000000000011111000000001111111111111111000000000011111111111111110000000000111110000000011111111111111111111\r
+# Waveform Monitor\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000000111110000000011111111111111111000000000111110000000011111000000001111100000000011110000000011111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000011111111111111110000000001111100000000011110000000001111000000000111100000000011111000000001111100000000111110000000011111000000001111100000000011111111111111110000000000111100000000111110000000011111000000000111111111111111100000000001111000000000111110000000011111111111111111000000000111110000000011111000000001111100000000011110000000001111000000000111100000000111110000000001111000000000111110000000011111000000001111111111111111100000000011111000000001111111111111111100000000011111111111111111000000000111110000000011111000000000111111111111111100000000001111000000001111111111111111100000000011111000000000111100000000011111111111111110000000000111110000000011111111111111111000000000111110000000011111111111111111111\r
+# 3D\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111100000000111110000000001111111111111111000000000011110000000001111100000000111110000000011111000000001111100000000011110000000011111000000000111100000000011110000000001111100000000111110000000011111111111111111000000000111110000000011111000000000111100000000011110000000001111000000001111100000000011110000000001111100000000111110000000011111111111111110000000000111110000000011111000000000111100000000011111111111111110000000001111100000000011110000000001111111111111111000000000011110000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000011110000000001111111111111111000000000011111111111111110000000000111100000000011111111111111110000000000111110000000011111111111111111000000000111110000000011111111111111111000000000111111111111111110000000001111111111111111100000000011111000000001111100000000111110000000001111111111111111100000000111111111111111110000000001111100000000011111111111111111111\r
+# Menu\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111100000000011110000000011111111111111111000000000011110000000001111000000000111110000000011111000000001111100000000111110000000001111000000001111100000000011110000000001111000000000111110000000011111111111111110000000000111110000000011111000000001111100000000111110000000001111000000001111100000000111110000000001111000000000111110000000011111111111111110000000000111110000000011111000000001111100000000111111111111111110000000001111100000000111110000000011111111111111111000000000011110000000001111000000000111110000000011111000000001111100000000111110000000011111000000001111100000000111110000000011111000000000111111111111111100000000001111000000000111111111111111100000000001111111111111111000000000011111111111111110000000000111111111111111100000000001111100000000111110000000011111111111111111000000000111110000000011111000000000111111111111111100000000001111111111111111000000000111110000000011111111111111111000000000011111111111111111111\r
+# Default\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111100000000111110000000001111111111111111000000000111110000000001111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000111110000000001111000000001111100000000011111111111111110000000000111100000000011110000000001111100000000111110000000011111000000001111100000000111110000000011111000000001111100000000011111111111111110000000000111100000000011110000000001111100000000111111111111111110000000001111100000000111110000000011111111111111111000000000111110000000011111000000001111100000000111110000000001111000000000111110000000011111000000001111100000000111110000000011111111111111111000000000011110000000001111000000001111100000000111110000000001111111111111111000000000011111111111111110000000000111100000000011111111111111111000000000111110000000011111000000001111111111111111100000000011111000000001111111111111111100000000011111000000000111111111111111100000000011111111111111111111\r
+# <OBEN>\r
+000000000000000000000000000000000000000000000000000000111111111111111111111111000000000111100000000011111111111111110000000000111100000000011111000000001111100000000111110000000011111000000001111100000000011110000000011111000000000111100000000011110000000001111100000000111111111111111111000000001111100000000111110000000011111000000000111100000000011110000000001111000000001111100000000011110000000001111100000000111111111111111111000000001111100000000111110000000011111000000000111111111111111110000000001111000000000111100000000111111111111111111000000000111100000000011110000000001111100000000111110000000011111000000001111100000000111110000000011111000000000111100000000111110000000001111111111111111100000000011110000000001111111111111111100000000011111111111111111000000000111110000000011111111111111111000000000111110000000011111000000001111111111111111100000000011111000000000111100000000011111111111111111000000001111100000000011110000000001111111111111111100000000011111111111111111111\r
+# <LINKS>\r
+000000000000000000000000000000000000000000000000000000111111111111111111111111000000000111100000000011111111111111111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000011110000000001111000000001111100000000111110000000001111100000000111111111111111111000000001111100000000111110000000011111000000001111100000000011110000000001111000000001111100000000011110000000001111100000000111111111111111110000000001111100000000111110000000011111000000000111111111111111110000000001111000000000111100000000011111111111111111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000111110000000001111000000001111100000000011110000000001111000000000111111111111111110000000001111111111111111100000000011111111111111111000000000111110000000011111111111111111100000000111110000000011111000000001111100000000111111111111111111000000001111100000000011111111111111111000000001111100000000011110000000011111111111111111100000000011111111111111111111\r
+# <RECHTS>\r
+00000000000000000000000000000000000000000000000000000001111111111111111111111100000000011111000000001111111111111111100000000011111000000001111100000000111110000000001111000000000111100000000111110000000001111000000000111110000000011111000000001111100000000111110000000011111111111111111100000000111110000000001111000000001111100000000011110000000001111000000000111110000000011111000000001111100000000111110000000011111111111111111100000000011110000000001111000000001111100000000011111111111111111000000000111100000000011110000000001111111111111111100000000011111000000001111100000000111110000000011111000000001111100000000111110000000001111000000000111100000000011111000000001111111111111111110000000011111000000001111111111111111100000000011111111111111111000000000111111111111111110000000001111100000000111111111111111110000000001111100000000111111111111111110000000001111100000000011111111111111111000000000111100000000111111111111111111000000001111100000000011110000000001111111111111111100000000011111111111111111111\r
+# <UNTEN>\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111110000000011111000000001111111111111111110000000011111000000000111100000000011110000000001111000000000111100000000011111000000001111100000000111110000000011111000000000111100000000011110000000001111111111111111100000000011110000000011111000000000111100000000011111000000001111100000000111110000000011111000000000111100000000011110000000011111111111111111100000000011110000000001111000000000111110000000011111111111111111100000000111110000000011111000000001111111111111111110000000011111000000001111100000000011110000000001111000000000111100000000011110000000001111100000000111110000000011111000000001111111111111111110000000011111111111111111000000000111110000000001111111111111111100000000011111111111111110000000001111100000000011111111111111110000000000111100000000111111111111111111000000001111111111111111100000000001111000000001111100000000011111111111111111000000000111100000000011111000000001111111111111111110000000011111111111111111111\r
+# Enter\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111110000000011111000000001111111111111111100000000011111000000000111100000000011110000000011111000000000111100000000011111000000001111100000000111110000000011111000000001111100000000011110000000001111111111111111100000000011110000000011111000000000111100000000011111000000001111100000000111110000000011111000000000111100000000011110000000011111111111111111100000000111110000000011111000000000111110000000011111111111111111100000000111110000000011111000000001111111111111111110000000011111000000001111100000000011110000000001111000000001111100000000011110000000001111100000000111110000000011111000000001111100000000011111111111111111000000000111100000000011110000000001111111111111111100000000011111111111111111000000000111111111111111110000000001111000000000111100000000011111111111111111000000000111100000000011111111111111111000000000111111111111111110000000001111111111111111100000000011111000000001111111111111111100000000011111111111111111111\r
+# Sub Menu\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111100000000011110000000011111111111111111100000000111110000000001111000000000111110000000011111000000001111100000000111110000000001111000000000111100000000111110000000011111000000000111100000000011111111111111111000000000111110000000011111000000001111100000000111110000000001111000000000111100000000011110000000001111000000000111110000000011111111111111111100000000111110000000011111000000001111100000000111111111111111111000000001111100000000011110000000011111111111111111100000000011110000000001111000000000111100000000011111000000001111100000000111110000000011111000000001111100000000011110000000011111111111111111100000000111111111111111111000000000111100000000111110000000001111100000000111111111111111111000000001111100000000111111111111111110000000001111111111111111100000000011111111111111111000000000111110000000011111111111111111000000000111110000000011111111111111111000000000111111111111111111000000001111100000000011111111111111111111\r
+# Back/Return\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111110000000001111000000000111111111111111110000000001111000000000111110000000011111000000001111100000000111110000000001111000000001111100000000111110000000001111000000000111110000000011111000000001111111111111111110000000011111000000001111100000000111110000000001111000000001111100000000111110000000001111000000000111110000000011111000000001111111111111111110000000011111000000001111100000000011110000000001111111111111111100000000011110000000011111000000000111111111111111110000000001111000000000111100000000011111000000001111100000000111110000000011111000000000111100000000011110000000011111000000000111100000000011111000000001111100000000111110000000011111111111111111000000000111110000000001111000000000111111111111111100000000001111000000000111100000000111110000000001111111111111111100000000011111111111111111100000000111100000000011111111111111111000000000111110000000011111111111111111111\r
+# Input Select\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111100000000011111000000001111111111111111100000000011111000000001111100000000111110000000011111000000000111100000000011110000000001111000000000111100000000011111000000001111100000000111110000000011111111111111111100000000111110000000001111000000001111100000000011110000000001111000000000111100000000011111000000001111100000000111110000000011111111111111111100000000111110000000001111000000001111100000000111111111111111111000000000111100000000011110000000001111111111111111100000000011111000000001111100000000111110000000011111000000001111100000000011110000000001111000000001111100000000011110000000001111111111111111100000000011111000000001111111111111111110000000011111111111111110000000000111110000000011111111111111111000000000111111111111111110000000001111100000000111111111111111110000000001111100000000111111111111111111000000000111100000000111110000000011111111111111111100000000011110000000001111111111111111100000000011111111111111111111\r
+# Function\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111100000000011111000000001111111111111111100000000011111000000001111100000000111110000000011111000000000111100000000111110000000011111000000000111100000000011111000000001111100000000111110000000011111111111111111000000000111110000000001111000000001111100000000011110000000001111000000000111110000000011111000000001111100000000111110000000011111111111111111000000000111110000000001111000000000111100000000011111111111111111000000001111100000000011110000000001111111111111111100000000011111000000001111100000000111110000000011111000000000111100000000011110000000011111000000000111100000000011110000000001111111111111111100000000011111000000001111100000000111111111111111110000000001111100000000111110000000011111000000001111100000000011111111111111110000000000111100000000011110000000001111100000000111110000000011111000000001111111111111111100000000011111111111111111000000000011111111111111111111\r
--- /dev/null
+# Panasonic FB silber fuer VCR Videorecorder, Jahr ~1990, Serial No: N2QAJB000088\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x93D0]\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111111000000011111100000001111111111111111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111111000000111111100000011111110000000111111000000001111100000001111111111111111111000000011111110000000111111000000011111100000001111110000000111111000000001111100000000111111111111111111100000001111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111100000001111110000000011111000000011111110000001111111000000011111111111111111110000000111111000000001111111111111111111000000011111111111111111110000000111111111111111111100000001111111111111111111100000011111110000000111111000000011111111111111111110000000111111000000001111111111111111111000000011111111111111111110000000111111000000001111111111111111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9100]\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111111000000011111100000001111111111111111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111111111111111111000000011111100000001111111000000011111100000001111110000000111111000000011111100000001111111111111111111000000001111110000000111111000000011111111111111111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000001111110000000111111100000011111110000000111111000000011111100000001111111111111111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000001111111000000011111100000001111110000000111111000000011111111111111111110000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9110]\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111000000001111110000000111111111111111111100000001111110000000111111000000001111100000001111111000000111111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111111111111111100000001111110000000111111000000001111110000001111111000000011111100000001111110000000111111111111111111100000000111111000000111111100000001111111111111111111000000011111100000001111110000000111111100000001111110000000111111000000011111100000001111110000000111111000000001111111111111111111000000011111100000001111110000000111111000000001111111111111111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000011111110000000111111000000011111100000001111110000000111111000000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9340]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000011111111111111111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000000111110000000111111111111111111110000000111111000000011111100000001111110000000011111000000001111110000000111111000000001111111111111111110000000111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000011111000000001111111111111111111000000011111100000001111111111111111111000000011111111111111111111000000011111100000001111110000000111111000000011111100000001111111111111111111100000011111110000000111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9130]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111110000001111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000111111100000001111110000000111111000000011111111111111111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111000000001111110000000111111111111111111100000001111111111111111111000000011111100000000111111000000011111111111111111110000000111111000000011111100000001111110000000111111111111111111110000000111111111111111111100000001111110000000111111000000001111110000000111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9140]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000000111111000000011111111111111111110000000111111000000011111100000001111110000000011111100000001111110000001111111000000011111100000001111110000000111111000000001111110000001111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111111111111111110000000111111100000001111110000000111111111111111111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000111111100000001111111111111111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111000000001111111111111111111000000011111100000001111110000000111111000000011111100000001111111111111111111100000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9150]\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000001111100000000111110000000011111100000001111110000000111111000000011111100000000111110000000011111111111111111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000011111000000001111110000000111111000000011111100000001111111111111111111000000011111100000001111111111111111111100000001111110000000111111111111111111100000001111110000000011111100000001111110000000111111111111111111100000001111110000000111111111111111111110000001111111000000011111100000001111110000000111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9350]\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111110000000111111100000001111111111111111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000001111111000000011111100000001111111111111111111000000011111100000001111110000000111111100000001111110000001111111000000011111100000001111111111111111111000000011111110000000111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111111111111111110000000111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000001111110000000111111111111111111100000001111110000000011111000000001111111111111111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9160]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000111111111111111111110000000111111000000001111100000001111110000000111111000000001111110000001111111000000011111100000001111110000000111111000000011111100000000111111000000011111111111111111110000000111111000000011111100000001111110000000111111100000001111110000000111111000000011111111111111111110000000111111000000011111110000000111111111111111111100000001111110000000111111000000011111100000001111111000000011111100000001111110000000111111000000011111100000001111110000000011111111111111111110000000111111111111111111100000001111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111111111111111110000000111111000000011111100000001111110000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9170]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000000111111000000011111111111111111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000001111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000011111110000000111111111111111111100000001111110000000111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000000111111111111111111100000011111111111111111111000000011111111111111111110000000011111100000011111111111111111111000000011111100000001111110000000111111000000001111111111111111111000000011111111111111111110000000111111111111111111100000000111111000000011111100000011111110000000111111000000011111111111111111110000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9180]\r
+000000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000011111100000000111110000000011111100000011111110000000111111000000011111100000001111110000000011111111111111111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111111111111111110000000111111000000001111100000000111111111111111111100000001111110000000111111000000011111100000001111110000000111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000000111111111111111111100000001111111111111111111000000011111100000001111110000000011111100000011111110000000111111000000011111100000001111111111111111111000000011111110000000111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9360]\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111110000000111111000000011111111111111111110000000011111100000011111110000000111111000000011111100000001111110000000011111000000001111110000001111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111100000001111110000000011111000000001111111111111111111000000011111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111111111111111110000000111111111111111111110000000111111000000011111111111111111110000000011111111111111111100000001111111000000011111100000001111110000000011111111111111111100000001111111111111111111100000001111110000000111111000000011111111111111111110000000111111000000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9C00]\r
+000000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000111111111111111111100000001111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111000000011111110000001111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000011111110000000111111111111111111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111111111111111110000000111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9190]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000011111111111111111110000000111111000000011111100000001111110000000111111000000001111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111111111111111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111111111111111110000000111111000000011111100000000111111111111111111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111111111111111111000000001111110000000111111000000011111111111111111110000000111111111111111111100000000111111000000011111100000011111110000000111111111111111111100000001111110000000011111100000001111111111111111111000000011111100000001111110000000111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x93B0]\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111110000000011111000000001111111111111111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111111111111111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111111111111111111000000011111100000000111111000000111111111111111111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111111111111111100000000111110000000111111111111111111100000000111111111111111111100000001111111111111111111000000011111100000001111110000000111111111111111111110000000111111111111111111100000001111110000000111111111111111111110000000111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x95B0] (flags=0x50)\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111100000001111110000000111111111111111111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000011111111111111111111000000011111100000001111111111111111111000000011111100000001111110000000111111100000001111110000000111111000000011111111111111111110000000111111111111111111100000000111111000000011111111111111111110000000111111111111111111100000001111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000001111111111111111111000000011111111111111111110000000011111000000011111100000000111111111111111111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x95D0] (flags=0x10)\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111110000000011111000000001111111111111111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000111111100000001111111111111111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111111111111111111000000001111100000000111111000000011111111111111111110000000111111111111111111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111111111111111111000000011111100000001111111111111111111000000001111111111111111111000000011111111111111111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111111111111111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9330]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111110000000111111000000011111111111111111110000000111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111111111111111110000000011111000000001111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000111111100000001111110000000111111111111111111100000000111110000000111111100000001111110000000111111000000011111100000001111110000000011111000000011111110000000111111111111111111100000001111111111111111111000000011111100000001111111000000011111111111111111110000000111111111111111111100000001111110000000111111100000001111111111111111111000000011111111111111111110000000011111000000001111110000000111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x95F0] (flags=0x10)\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111100000001111110000000111111111111111111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000111111100000001111110000000111111111111111111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000011111111111111111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111111111111111100000001111111111111111111000000011111111111111111111000000011111111111111111110000000111111111111111111100000001111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000001111111111111111111000000011111111111111111110000000111111000000001111110000000111111111111111111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9540]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111110000000111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111111111111111110000000011111000000011111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111111111111111111000000011111100000000111111111111111111100000001111110000000111111111111111111100000001111110000000011111100000011111110000000111111111111111111100000001111110000000111111000000011111100000000111111111111111111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9010] (flags=0x10)\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111100000001111110000000111111111111111111100000001111110000000111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000011111111111111111111000000111111100000001111110000000111111000000011111100000001111110000000111111100000001111110000000111111111111111111100000001111110000000111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x93A0] (flags=0x50)\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111111000000011111100000001111111111111111111000000001111110000001111111000000011111100000001111110000000111111000000011111100000001111111000000011111100000001111110000000111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111111111111111100000001111110000000111111000000011111111111111111111000000011111111111111111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111111111111111111000000111111100000001111111111111111111000000011111111111111111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000011111111111111111111000000011111111111111111110000000111111111111111111110000000111111000000011111111111111111110000000111111000000011111111111111111110000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x93F0] (flags=0x50)\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111000000001111100000000111111111111111111100000001111110000000111111000000011111100000001111110000000111111100000001111110000000111111000000011111100000001111110000000111111000000001111110000001111111111111111111100000001111110000000111111000000001111100000000111111000000011111100000011111110000000111111111111111111100000000111110000000011111100000001111111111111111111000000011111111111111111110000000111111000000001111111111111111111000000001111100000001111110000000111111000000011111100000001111111000000011111111111111111110000000111111111111111111100000000111111111111111111100000000111111111111111111000000011111111111111111110000000111111111111111111110000000111111000000011111100000001111110000000111111111111111111100000000111111000000111111111111111111110000000111111000000011111111111111111110000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9560] (flags=0x10)\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111111000000011111100000001111111111111111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111111111111111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111111111111111111100000001111110000000111111000000011111111111111111110000000111111111111111111110000001111111000000011111100000001111110000000111111000000011111100000000111111000000111111100000001111110000000111111111111111111100000001111111111111111111100000001111110000000111111111111111111100000001111110000000111111111111111111110000000111111000000011111111111111111110000000111111111111111111100000000111111111111111111100000001111110000000111111000000011111100000001111111111111111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x90A0]\r
+000000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000001111100000000111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000011111110000000111111000000011111100000001111110000000111111000000001111110000001111111000000011111100000001111110000000111111111111111111100000000111111000000011111111111111111110000000111111000000011111100000001111110000000011111100000001111110000000111111111111111111100000001111110000000111111111111111111110000000111111111111111111100000001111110000000111111000000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9660] (flags=0x10)\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111100000011111110000000111111111111111111100000000111110000000111111000000011111111111111111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111111111111111110000000111111111111111111100000001111110000000111111000000011111111111111111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111110000000111111111111111111100000001111110000000011111111111111111110000000111111111111111111100000001111111111111111111000000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9020]\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111100000001111110000000111111111111111111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000011111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000011111111111111111100000000111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111111111111111111000000011111100000001111110000000111111111111111111100000000111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9580] (flags=0x10)\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111111111111111111000000011111100000001111110000000111111111111111111110000000111111111111111111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000111111100000001111111111111111111000000011111111111111111110000000111111000000001111111111111111111000000011111100000001111111111111111111000000011111100000000111111000000111111111111111111110000000111111000000011111100000001111111111111111111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9030]\r
+000000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000011111110000000111111000000011111100000000111110000000111111000000011111110000000111111000000011111100000001111111111111111111000000011111111111111111111000000011111100000001111110000000111111000000011111100000001111110000000011111000000001111111111111111111000000011111111111111111110000000111111000000001111100000000111111111111111111100000001111110000000111111000000011111111111111111110000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x92F0] (flags=0x50)\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000011111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111111111111111100000001111110000000111111000000011111100000000111110000000011111100000001111110000000111111111111111111100000001111110000000011111000000001111111111111111111000000011111111111111111110000000111111000000011111111111111111111000000011111100000001111110000000111111000000011111100000001111110000000011111111111111111110000000111111111111111111100000001111111111111111111000000001111111111111111111000000011111100000001111111111111111111000000011111100000000111111000000011111100000001111111111111111111000000011111100000001111111111111111111100000001111111111111111111000000011111111111111111110000000111111000000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9000]\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111111000000011111100000001111111111111111111000000001111110000000111111000000011111100000001111110000000111111000000001111100000000111111000000011111100000001111110000000011111000000011111100000000111111111111111111100000011111110000000111111000000011111100000001111110000000111111000000011111110000000111111111111111111100000001111110000000111111000000011111111111111111111000000011111100000001111110000000111111000000011111100000000111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9060]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000000111111000000011111111111111111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111111111111111110000000111111000000001111100000000111111000000111111100000001111110000000111111000000011111111111111111110000000011111100000011111110000000111111111111111111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000001111100000000111111000000011111111111111111110000000111111111111111111100000000111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111111111111111100000001111110000000111111111111111111100000000111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9490]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111100000001111110000000011111000000011111111111111111111000000011111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000011111110000000111111111111111111100000001111110000000111111000000001111111111111111111000000011111100000001111110000000111111111111111111100000000111111000000011111111111111111110000000111111000000011111100000001111111111111111111100000001111111111111111111000000011111100000001111111111111111111000000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x94A0]\r
+00000000000000000000000000000000000000000000000000000011111111111111111111111110000000111111000000011111111111111111110000000011111100000011111110000000111111000000011111100000001111110000000011111000000001111110000001111111000000011111100000001111110000000111111000000001111111111111111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111111111111111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000001111111111111111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000011111100000000111111111111111111100000001111111111111111111000000011111100000001111111111111111111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x90A0] (flags=0x10)\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111110000001111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000011111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111111111111111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111100000001111110000000111111111111111111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111111111111111111000000011111100000000111111111111111111100000001111110000000111111000000011111100000001111110000000011111111111111111110000000111111111111111111100000001111110000000111111111111111111110000000111111111111111111100000001111110000000111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9080] (flags=0x10)\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111110000000111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000011111110000000111111000000011111111111111111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111100000001111110000000111111111111111111100000001111111111111111111100000001111110000001111111000000011111100000001111110000000111111000000001111100000000111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000001111110000000111111000000011111100000001111111111111111111000000001111110000000111111000000011111111111111111110000000111111111111111111100000000111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9B40]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000000111111000000011111111111111111110000000111111000000001111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111111111111111110000000011111000000001111100000000111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000001111110000000111111111111111111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111111111111111111000000011111100000001111111111111111111100000001111111111111111111000000011111100000001111111111111111111000000001111110000000111111000000011111111111111111110000000111111000000011111100000000111111111111111111100000001111110000000111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9080]\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111100000001111110000000111111111111111111100000001111110000000011111000000001111110000000111111000000011111100000001111110000000111111000000001111100000000111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111111111111111111000000001111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111111111111111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111111111111111110000000111111111111111111100000001111110000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9910] (flags=0x10)\r
+0000000000000000000000000000000000000000000000000000001111111111111111111111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111000000001111110000001111111000000011111100000001111110000000111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111111111111111100000001111110000000111111000000011111111111111111111000000011111111111111111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111111111111111111100000011111110000000111111000000011111100000001111111111111111111000000011111110000000111111000000011111111111111111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x9930] (flags=0x10)\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000001111110000000111111111111111111110000001111111000000011111100000001111110000000111111000000001111100000000111111000000011111100000011111110000000111111000000011111100000000111110000000011111111111111111110000000111111000000011111100000000111110000000111111000000001111110000000111111000000011111111111111111110000000111111000000011111100000000111111111111111111100000001111111111111111111000000011111100000000111110000000011111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111111111111111100000001111110000000111111000000001111111111111111111000000011111100000001111110000000111111111111111111100000001111110000000011111111111111111110000000111111000000011111100000001111110000000011111000000001111110000000111111000000011111111111111111111\r
+\r
+# Es gibt auch 6 Tasten fuer den TV, wobei TV on/off immer 3 Pakete schickt \r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x83D0]\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111111000000011111100000001111111111111111111000000011111100000001111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111111111111111111000000011111110000001111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111111111111111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111000000001111110000001111111111111111111100000001111110000000111111111111111111100000000111111111111111111100000011111111111111111111000000011111111111111111110000000011111100000011111110000000111111111111111111100000001111110000000111111111111111111110000001111111111111111111100000001111111111111111111000000011111111111111111111000000111111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x83D0]\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111111000000011111100000001111111111111111111000000011111100000000111111000000111111100000001111110000000111111000000011111100000001111110000000111111100000001111110000000111111000000011111100000001111111111111111111000000001111110000001111111000000011111100000001111110000000111111000000011111100000000111111000000111111100000001111110000000111111111111111111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111111111111111100000001111110000000111111111111111111100000000111111111111111111100000001111111111111111111000000011111111111111111110000000111111100000011111110000000111111111111111111100000001111110000000011111111111111111110000000111111111111111111100000000111111111111111111000000011111111111111111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x83D0]\r
+0000000000000000000000000000000000000000000000000000011111111111111111111111111000000011111100000001111111111111111111000000011111110000001111111000000111111100000001111110000000111111000000011111100000001111111000000111111100000001111110000000111111000000011111100000001111111111111111111100000011111110000001111111000000011111100000001111110000000111111000000011111110000001111111000000011111100000001111110000000111111111111111111100000001111111000000011111100000011111110000000111111000000011111100000001111110000000011111100000001111110000000111111111111111111100000001111110000000111111111111111111110000001111111111111111111100000001111111111111111111000000011111111111111111111000000111111100000011111110000000111111111111111111100000001111110000000111111111111111111110000000111111111111111111100000001111111111111111111000000001111111111111111111000000011111100000001111111111111111111000000011111111111111111111\r
+\r
+# restiche TV Tasten\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x8050]\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111000000001111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000011111100000011111110000000111111000000011111100000001111110000000111111000000001111110000001111111111111111111100000001111110000000111111000000011111100000000111111000000111111100000001111110000000111111000000011111100000001111110000000111111111111111111110000001111111000000011111100000001111110000000111111000000011111110000000111111000000011111100000001111110000000011111111111111111100000001111111000000111111111111111111110000000111111000000011111100000001111110000000011111100000011111110000001111111111111111111100000000111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x8340]\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111100000011111110000000111111111111111111100000001111110000000111111100000011111110000000111111000000011111100000001111110000000111111000000001111110000001111111000000011111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111100000011111110000000111111000000011111111111111111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000001111111000000011111100000001111110000000111111111111111111100000001111110000000011111111111111111110000000111111111111111111100000001111110000000111111000000011111110000001111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111110000000111111000000011111111111111111110000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x8350]\r
+00000000000000000000000000000000000000000000000000000111111111111111111111111100000001111111000000011111111111111111110000000111111000000011111100000001111110000000111111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000111111111111111111110000000111111000000011111100000001111111000000011111100000011111110000000111111000000011111100000000111110000000011111100000001111111111111111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000111111100000001111111111111111111000000011111100000001111111111111111111100000001111111111111111111000000011111100000001111110000000111111111111111111110000001111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111110000000011111000000011111111111111111110000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x8200]\r
+000000000000000000000000000000000000000000000000000011111111111111111111111111000000011111100000000111111111111111111100000001111110000000111111000000011111100000001111110000000011111100000001111110000000111111000000011111100000001111110000000111111000000001111110000000111111111111111111100000001111110000000111111000000011111100000000111111000000111111100000001111110000000111111000000011111100000001111110000000111111111111111111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000011111100000001111110000000111111000000011111100000000111111000000011111100000001111110000000111111111111111111100000001111110000000111111100000001111110000000111111000000011111100000001111110000000111111000000011111111111111111111000000011111100000001111111111111111111000000011111111111111111111\r
+# KASEIKYO [ 5 (KASEIKYO) 0x2002 0x8210]\r
+000000000000000000000000000000000000000000000000000001111111111111111111111111000000011111100000001111111111111111111100000001111110000000111111000000011111100000001111110000000111111100000001111110000000111111000000011111100000001111110000000111111000000011111110000000111111111111111111100000000111110000000111111000000011111100000000111111000000011111100000001111110000000111111000000011111100000001111110000000011111111111111111110000000111111000000011111100000001111110000000111111000000001111110000000111111000000111111100000001111110000000111111111111111111100000000111111000000011111100000001111110000000111111000000011111111111111111110000000011111100000001111110000000111111111111111111100000001111110000000111111000000011111110000001111111000000011111111111111111110000000111111000000011111111111111111111000000011111111111111111111\r
+\r
--- /dev/null
+# Philips FB schwarz fuer CD, Jahr ~1992, Serial No: RD 6910\r
+# [ 7 (RC5) 0x0014 0x0001]\r
+00000000000000111111111111000000000000001111111111111000000000000001111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0002]\r
+0000000000000011111111111110000000000000000000000000000111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000011111111111111111111111111100000000000000000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0003]\r
+00000000000000111111111111100000000000000111111111111100000000000000111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0004]\r
+0000000000000011111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111111111111111100000000000000000000000000001111111111111000000000000001111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111111111111111111000000000000000000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0005]\r
+000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0006]\r
+0000000000000011111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000001111111111110000000000000011111111111111111111111111100000000000000111111111111100000000000000000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0007]\r
+00000000000000111111111111000000000000000111111111111000000000000001111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0008]\r
+0000000000000011111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000001111111111111111111111111100000000000000000000000000011111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0009]\r
+00000000000000111111111111100000000000000111111111111000000000000001111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000111111111111100000000000000011111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000000000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0029]\r
+00000000000000111111111111100000000000000000000000000001111111111111111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111110000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0000]\r
+0000000000000011111111111110000000000000011111111111110000000000000011111111111100000000000000000000000000001111111111111111111111111100000000000000000000000000001111111111110000000000000001111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0031]\r
+00000000000000111111111111100000000000000000000000000011111111111111111111111111100000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111110000000000000011111111111111111111111111000000000000001111111111111000000000000000000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0021]\r
+00000000000000111111111111000000000000001111111111111000000000000001111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0020]\r
+0000000000000011111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111111111111111100000000000000000000000000001111111111111000000000000001111111111111111111111111100000000000000000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x000F]\r
+00000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111110000000000000111111111111110000000000000011111111111100000000000000111111111111111111111111111000000000000001111111111111000000000000001111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0036]\r
+0000000000000011111111111100000000000000000000000000001111111111111111111111111100000000000000000000000000001111111111111111111111111100000000000000000000000000001111111111110000000000000011111111111111111111111111100000000000001111111111111000000000000000000000000000011111111111111111111111111000000000000001111111111111000000000000000000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0030]\r
+0000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000000000000000001111111111111111111111111100000000000000000000000000001111111111111000000000000011111111111111111111111111100000000000000111111111111100000000000000000000000000001111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0035]\r
+000000000000001111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111111111111111110000000000000001111111111110000000000000000000000000000111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x002F]\r
+000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000000000000000000111111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111111111111111110000000000000000000000000000111111111111111111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x006C]\r
+0000000000000000000000000000111111111111100000000000000111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111000000000000001111111111111111111111111100000000000000000000000000001111111111111111111111111100000000000000111111111111100000000000000000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0032]\r
+0000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000000000000000001111111111111111111111111100000000000000000000000000001111111111111000000000000001111111111111111111111111100000000000000111111111111100000000000000000000000000011111111111110000000000000011111111111111111111111111000000000000000000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0034]\r
+0000000000000011111111111110000000000000000000000000000111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111000000000000001111111111111111111111111100000000000000111111111111100000000000000000000000000001111111111111111111111111100000000000000000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0023]\r
+00000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111110000000000000011111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000001111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0022]\r
+0000000000000011111111111110000000000000000000000000000111111111111111111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111000000000000001111111111111111111111111100000000000000000000000000001111111111111000000000000001111111111110000000000000011111111111111111111111111100000000000000000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x001C]\r
+0000000000000011111111111110000000000000011111111111110000000000000011111111111110000000000000000000000000001111111111111111111111111110000000000000000000000000001111111111111000000000000001111111111111000000000000001111111111111111111111111100000000000000111111111111100000000000000111111111111100000000000000000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x002B]\r
+00000000000000111111111111100000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111100000000000000111111111111111111111111111000000000000000000000000000111111111111111111111111110000000000000000000000000000111111111111111111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0011]\r
+00000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111110000000000000011111111111110000000000000111111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0010]\r
+000000000000001111111111111000000000000000000000000000111111111111111111111111110000000000000000000000000000111111111111111111111111110000000000000000000000000001111111111111000000000000000111111111111000000000000001111111111111111111111111100000000000000000000000000001111111111111000000000000001111111111111000000000000001111111111111000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x001D]\r
+00000000000000111111111111100000000000000111111111111100000000000000111111111111100000000000000000000000000011111111111111111111111111100000000000000000000000000011111111111110000000000000011111111111110000000000000011111111111111111111111111000000000000001111111111111000000000000001111111111111000000000000000000000000000111111111111111111111111111000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x000B]\r
+00000000000000111111111111100000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000111111111111100000000000000011111111111100000000000000111111111111100000000000000111111111111111111111111110000000000000000000000000000111111111111111111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x003B]\r
+00000000000000111111111111000000000000001111111111111000000000000001111111111111000000000000000000000000000011111111111111111111111111000000000000000000000000000111111111111100000000000000111111111111111111111111111000000000000001111111111110000000000000011111111111110000000000000000000000000000111111111111111111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [ 7 (RC5) 0x0014 0x0047]\r
+00000000000000000000000000001111111111110000000000000011111111111111111111111111100000000000000000000000000011111111111111111111111111000000000000000000000000000011111111111110000000000000011111111111110000000000000011111111111100000000000000011111111111100000000000000111111111111111111111111111000000000000011111111111111000000000000001111111111110000000000000011111111111111111111\r
--- /dev/null
+# Fujitsu-Siemens FB schwarz fuer PC Steuerung, usb IR-Empfaenger an PC, Jahr ~2010\r
+# [21 (RC6A) 0x000F 0x040C]\r
+00000000000000000000000000000000000000001111111111111000000001111110000000111111000000001111111111111000000011111111111110000000000000000000011111111111110000000111111100000001111110000000011111100000001111110000000011111100000001111111000000011111100000001111111000000011111100000001111111000000000000001111110000000111111000000001111110000000111111000000011111111111110000000011111100000001111110000000011111100000000000000111111111111100000001111111000000011111100000001111111000000011111100000001111111000000000000001111110000000111111111111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0418]\r
+000000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111110000000111111111111100000000000000000000011111111111110000000111111100000011111110000000111111100000011111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000000000011111110000000111111000000011111100000001111111111111100000001111110000000111111100000001111110000000011111100000000000000111111111111100000001111110000000111111100000001111111000000111111100000000000000111111000000011111111111110000000111111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0417]\r
+000000000000000000000000000000000000000011111111111110000000111111100000001111110000000111111111111100000001111111111111000000000000000000000111111111111100000001111111000000111111100000001111111000000011111100000001111111000000011111100000001111111000000011111100000001111111000000011111110000000000000111111100000001111110000000111111100000011111110000000111111111111100000000111111000000011111100000001111111000000000000011111111111111000000011111100000000111111000000011111100000000111111000000000000001111111111111000000000000001111110000000111111100000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0419]\r
+0000000000000000000000000000000000000000111111111111110000000111111000000011111110000001111111111111100000001111111111111000000000000000000001111111111111000000011111110000000111111100000001111110000000111111100000011111110000000111111100000001111110000000111111100000001111110000000111111100000000000000111111000000011111110000000111111000000011111111111110000000111111100000001111110000000111111100000001111110000000000000011111111111110000000111111100000001111110000000111111100000001111111000000000000011111110000000111111111111100000001111111000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0415]\r
+0000000000000000000000000000000000000000011111111111110000001111111000000011111100000001111111111111100000001111111111111000000000000000000001111111111111000000011111110000000111111000000011111110000000111111100000011111110000000111111100000001111110000000111111100000001111110000000111111100000000000001111111000000011111100000001111111000000011111100000001111111111111100000011111110000000111111100000001111110000000000000011111111111110000000111111100000001111110000000111111100000001111110000000000000011111111111110000000000000011111111111110000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0416]\r
+00000000000000000000000000000000000000000111111111111100000001111111000000111111100000001111111111111000000011111111111110000000000000000000011111111111111000000011111100000001111111000000011111110000001111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000000000001111111000000111111100000001111110000000111111111111110000000111111000000011111110000000111111000000001111110000000000000111111111111110000000111111000000001111110000000111111000000001111110000000000000011111111111110000000000000111111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0414]\r
+00000000000000000000000000000000000000000111111111111100000001111111000000111111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111110000001111111000000011111110000001111111000000011111110000001111111000000011111110000000111111000000011111110000000111111000000000000001111111000000111111100000001111110000000111111100000001111111111111000000011111110000000111111000000011111110000000000000111111111111110000000111111000000011111110000000111111000000011111110000000000000011111111111110000000000000111111111111110000000111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x041B]\r
+0000000000000000000000000000000000000000011111111111110000000111111000000011111110000000111111111111100000001111111111111000000000000000000001111111111111100000001111110000000111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000001111111000000011111100000000000000111111000000011111110000000111111000000011111111111110000000111111100000001111111000000111111100000001111111000000000000011111111111111000000011111100000001111111000000011111100000001111111000000000000011111110000000111111111111100000000000000111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x041A]\r
+00000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111111000000111111111111110000000000000000000011111111111110000000111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000001111111000000011111100000001111111000000000000011111110000000111111000000011111110000000111111000000011111111111110000000011111100000001111110000000111111100000000000000111111111111100000001111111000000111111100000001111111000000011111100000000000000111111000000011111111111111000000000000011111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0423]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000001111111111111000000011111111111110000000000000000000011111111111111000000011111100000001111111000000011111100000000111111000000011111110000001111111000000011111110000000111111000000011111110000000111111000000000000001111111000000111111100000001111110000000111111111111110000000111111000000011111110000000111111000000011111110000000000000111111111111110000000111111000000011111110000000111111000000000000001111111111111000000011111110000000111111000000000000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x040F]\r
+0000000000000000000000000000000000000000111111111111100000001111111000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000011111110000000111111100000000000001111111000000011111100000001111111000000111111100000001111111111111000000001111110000000111111000000011111110000000000000011111111111110000000111111000000011111110000000111111100000011111110000000111111100000000000001111111000000011111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x041E]\r
+0000000000000000000000000000000000000000111111111111100000001111111000000111111100000001111111111111000000001111111111110000000000000000000001111111111111000000011111110000001111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000000000001111111000000111111100000001111111000000111111111111110000000111111000000011111110000000111111000000011111110000000000000111111111111110000000111111000000011111110000000111111100000011111110000000000000011111100000001111111000000011111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0420]\r
+00000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111110000000111111111111110000000000000000000011111111111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000001111111000000000000011111110000000111111000000011111110000001111111000000011111111111110000000111111100000001111110000000111111100000000000000111111111111100000001111110000000111111100000001111111000000000000011111111111111000000011111100000001111111000000111111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0422]\r
+00000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111111000000011111111111110000000000000000000011111111111110000000111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000001111111000000011111100000001111111000000000000011111110000000111111000000011111110000000111111111111100000001111110000000111111100000001111111000000111111100000000000000111111111111100000001111111000000011111100000001111111000000000000011111111111111000000011111100000001111111000000000000011111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0421]\r
+0000000000000000000000000000000000000000011111111111110000000111111100000011111110000000111111111111100000001111111111111000000000000000000001111111111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000001111111000000011111100000001111111000000011111100000000000000111111100000011111110000000111111000000011111110000000111111111111100000001111111000000111111100000001111111000000000000011111111111111000000111111100000001111111000000011111100000000000000111111111111100000001111111000000011111100000001111111000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x041F]\r
+0000000000000000000000000000000000000000111111111111100000001111111000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111110000001111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000011111110000000111111100000000000001111111000000011111100000001111111000000011111111111110000000111111000000011111110000000111111000000011111110000000000000011111111111110000000111111100000011111110000000011111100000001111110000000000000011111100000001111111000000011111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0410]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000011111111111111000000011111111111110000000000000000000001111111111111000000111111100000001111111000000111111100000001111111000000011111100000001111111000000011111100000001111111000000011111100000001111111000000000000001111110000000111111100000011111110000000111111000000011111111111111000000011111100000001111111000000001111100000000000000111111111111100000001111111000000011111100000001111111000000011111100000000000000111111111111100000001111111000000011111110000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0412]\r
+00000000000000000000000000000000000000001111111111111100000001111110000000111111100000011111111111111000000011111111111110000000000000000000011111111111110000000111111100000001111111000000111111100000001111111000000011111100000001111111000000011111100000001111111000000011111100000001111111000000000000001111110000000111111100000011111110000000111111111111100000001111111000000011111100000001111111000000011111100000000000000111111111111100000001111111000000011111100000001111111000000011111110000000000000111111111111110000001111111000000000000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0411]\r
+0000000000000000000000000000000000000000001111111111110000000111111000000011111110000000111111111111100000001111111111111000000000000000000000111111111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000001111111000000111111100000001111111000000011111100000000000000111111000000011111110000000111111000000011111110000000111111111111100000001111111000000111111100000001111111000000000000011111111111111000000011111100000001111111000000011111100000001111111000000000000001111111111111000000011111100000001111111000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0413]\r
+0000000000000000000000000000000000000000011111111111110000000111111000000011111110000000111111111111100000001111111111111000000000000000000001111111111111100000001111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000000000000111111000000011111110000000111111000000011111111111110000000111111100000001111110000000111111100000001111111000000000000011111111111111000000111111100000001111111000000111111100000001111111000000000000011111111111111000000011111100000000000000111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x040D]\r
+0000000000000000000000000000000000000000011111111111110000000111111000000011111110000000111111111111100000001111111111111000000000000000000001111111111111100000011111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000111111100000000000000111111000000011111110000000111111000000011111110000001111111111111100000001111110000000111111100000001111110000000000000011111111111110000000111111100000001111110000000111111100000001111111000000111111100000000000000111111000000011111111111110000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x040E]\r
+00000000000000000000000000000000000000000111111111111100000011111110000000111111000000011111111111111000000111111111111110000000000000000000011111111111110000000111111100000001111110000000111111100000001111110000000111111100000001111111000000111111100000001111111000000011111100000001111111000000000000011111110000000111111000000011111110000000111111111111100000001111111000000111111100000001111111000000111111100000000000000111111111111100000001111111000000011111100000001111111000000011111100000001111111000000000000011111110000000111111100000011111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0448]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000001111111111111000000011111111111110000000000000000000011111111111111000000011111100000001111111000000011111100000001111111000000011111100000001111111000000011111110000001111111000000011111110000000111111000000000000001111110000000111111100000001111110000000111111100000001111111111111000000011111100000001111111000000011111110000000000000111111111111110000001111111000000011111110000000000000111111111111110000000111111000000000000001111111111111000000011111110000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0426]\r
+00000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111110000000111111111111110000000000000000000011111111111110000000111111100000001111110000000111111100000000111110000000111111100000000111110000000111111100000001111111000000111111100000001111111000000000000001111110000000111111000000011111110000001111111111111100000001111110000000111111100000001111111000000111111100000000000000111111111111100000001111111000000111111100000001111111000000000000011111111111111000000011111100000000000000111111000000011111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0425]\r
+0000000000000000000000000000000000000000011111111111100000001111111000000011111100000001111111111111100000001111111111111000000000000000000000111111111111000000011111110000000111111000000001111110000000111111000000011111110000000111111100000011111110000000111111100000001111110000000111111100000000000001111111000000011111100000001111111000000011111100000001111111111111000000011111110000000111111100000011111110000000000000011111111111110000000111111100000011111110000000111111100000000000001111111111111100000001111110000000000000011111111111110000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0424]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000001111111111111000000011111111111110000000000000000000011111111111111000000011111100000001111111000000011111100000001111111000000011111110000001111111000000011111110000000111111000000011111110000000111111000000000000001111110000000111111100000001111110000000111111111111110000001111111000000011111110000001111111000000011111110000000000000111111111111110000000111111000000011111110000000111111000000000000001111111111111000000011111110000000000000011111111111110000000111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0401]\r
+0000000000000000000000000000000000000000011111111111100000000111111000000011111100000000111111111111000000011111111111110000000000000000000001111111111111000000011111110000000111111000000001111110000000111111000000001111110000000111111000000001111110000000111111000000001111110000000111111100000000000000111111000000011111100000000111111000000011111100000000111111111111000000001111110000000111111000000001111110000000000000011111111111110000000111111000000001111110000000111111100000001111110000000011111100000001111110000000111111100000001111110000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0402]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000011111000000001111111111111000000011111111111110000000000000000000011111111111110000000011111100000001111111000000011111100000000111111000000011111100000001111111000000011111100000000111111000000011111100000000111111000000000000001111110000000111111100000001111110000000111111111111100000001111111000000011111100000001111111000000011111100000000000000111111111111100000000111111000000011111100000000111111000000011111110000001111111000000011111110000000111111000000000000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0403]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000001111111111111000000011111111111110000000000000000000001111111111110000000011111100000001111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000000000001111110000000011111100000001111110000000111111000000001111111111111000000011111100000000111111000000011111100000000000000111111111111100000000111111000000011111100000000111111000000001111100000000111111000000011111110000000111111000000000000001111110000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0404]\r
+000000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111110000000011111111111100000000000000000000011111111111110000000111111100000011111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000011111100000000111110000000000000011111110000000111111000000011111100000000111111111111100000001111110000000011111100000001111110000000011111100000000000000111111111111100000001111110000000011111100000001111111000000011111100000001111111000000011111100000000000000011111111111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0405]\r
+00000000000000000000000000000000000000001111111111111000000001111110000000111111000000011111111111110000000011111111111100000000000000000000011111111111110000000111111100000001111110000000111111100000001111110000000011111100000001111110000000011111100000001111110000000011111100000001111111000000000000001111110000000111111000000001111110000000111111000000001111111111110000000011111100000001111110000000011111100000000000000111111111111100000001111110000000011111100000001111110000000011111100000001111111000000011111100000000000000111111111111100000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0406]\r
+00000000000000000000000000000000000000000111111111111000000001111110000000111111000000001111111111110000000011111111111110000000000000000000001111111111110000000011111100000001111110000000111111100000001111110000000011111100000000111110000000011111100000001111111000000011111100000001111111000000000000001111110000000111111000000001111110000000111111111111100000001111110000000011111100000001111111000000011111100000000000000111111111111100000001111111000000011111100000001111111000000011111100000000111111000000011111100000000000000111111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0406 1\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000001111111111111000000011111111111110000000000000000000001111111111110000000011111100000001111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000000000001111110000000111111100000001111110000000111111111111100000001111111000000011111100000001111111000000001111100000000000000111111111111100000000111111000000011111100000000111111000000011111110000000111111000000001111110000000000000011111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0407]\r
+0000000000000000000000000000000000000000011111111111100000001111111000000011111100000000111111111111100000001111111111111000000000000000000001111111111111000000001111110000000111111000000001111110000000111111000000001111110000000111111100000001111110000000111111100000001111110000000111111100000000000000111111000000011111100000000111111000000011111100000000111111111111000000001111110000000111111000000001111110000000000000011111111111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000000000011111100000000111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0408]\r
+000000000000000000000000000000000000000001111111111111000000011111100000000111111000000001111111111110000000111111111111100000000000000000000011111111111110000000111111000000001111110000000111111000000001111110000000011111100000001111110000000111111100000001111110000000011111100000001111110000000000000011111110000000111111000000011111100000000111111111111100000001111110000000111111100000001111110000000011111100000000000000111111111111100000001111110000000011111100000000111110000000011111100000001111110000000000000011111111111110000000011111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0409]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000011111110000000111111000000000000001111110000000011111100000001111110000000111111100000001111111111111000000011111100000000111111000000011111100000000000000011111111111100000000111111000000011111110000000111111000000011111110000000111111000000000000001111111111111000000011111110000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x041D]\r
+0000000000000000000000000000000000000000111111111111100000001111111000000011111100000000111111111111000000001111111111110000000000000000000001111111111111000000011111110000000111111000000011111110000000111111000000001111110000000111111000000001111110000000111111000000001111110000000111111000000000000001111111000000011111100000000111111000000011111111111110000000111111000000001111110000000011111000000001111110000000000000011111111111110000000111111000000001111110000000111111100000001111110000000000000011111100000000111111000000011111111111110000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x0400]\r
+000000000000000000000000000000000000000001111111111111000000001111110000000111111000000011111111111110000000011111111111100000000000000000000011111111111110000000111111000000011111110000000111111100000001111110000000111111100000001111110000000011111100000001111110000000011111100000000111110000000000000001111110000001111111000000011111100000001111111000000011111111111110000000111111100000001111110000000011111100000000000000111111111111100000001111110000000011111100000000111110000000011111100000001111110000000011111100000001111111000000011111100000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x041C]\r
+00000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111110000000011111111111100000000000000000000011111111111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000011111100000001111110000000011111100000001111110000000000000001111110000000111111000000011111110000000111111111111100000001111110000000011111100000001111110000000011111100000000000000111111111111100000000111110000000011111100000001111111000000011111100000000000000111111000000001111110000000111111111111100000001111110000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x040A]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000011111000000001111111111111000000011111111111110000000000000000000011111111111110000000011111100000001111110000000011111100000001111110000000011111100000001111111000000011111100000000111111000000011111100000000111111000000000000001111110000000111111000000001111110000000111111000000001111111111110000000011111100000001111111000000011111100000000000000111111111111100000000111111000000011111100000000111111000000011111100000000111111000000000000001111111111111000000000000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045A]\r
+000000000000000000000000000000000000000001111111111111000000011111110000000111111000000011111111111110000000111111111111100000000000000000000011111111111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000111111100000001111110000000011111100000001111110000000000000001111110000000111111000000001111100000000111111111111100000001111110000000011111100000001111110000000011111100000000000000111111111111100000001111110000000011111100000000000000111111111111100000000000000111111000000011111111111110000000000000011111111111110000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x040B]\r
+00000000000000000000000000000000000000000011111111111100000001111110000000011111100000000111111111111000000011111111111110000000000000000000001111111111111000000011111100000000111111000000001111100000000111111000000011111110000000111111000000011111110000000111111000000001111110000000111111000000000000001111111000000011111100000001111110000000011111100000000111111111111000000001111110000000111111000000011111110000000000000011111111111110000000111111000000011111110000000111111000000001111110000000111111000000000000001111111111111000000000000000111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045B]\r
+00000000000000000000000000000000000000000111111111111100000001111111000000011111100000001111111111111000000001111111111110000000000000000000001111111111111000000011111100000000111111000000011111110000000111111000000011111110000000111111000000001111110000000111111000000001111110000000111111000000000000001111111000000011111100000001111110000000011111111111110000000111111000000001111110000000111111000000001111110000000000000011111111111110000000111111000000001111110000000000000011111111111110000000000000011111100000001111111111111000000000000001111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045C]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111100000001111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000011111110000000111111000000000000001111110000000011111100000001111110000000111111100000001111111111111000000011111100000000111111000000011111100000000000000111111111111100000000111111000000011111100000000000000111111111111100000000000000111111100000001111110000000011111111111100000000111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045D]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111100000001111111111111000000011111111111110000000000000000000001111111111110000000011111100000001111111000000011111100000001111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000000000001111110000000111111100000001111110000000111111111111100000001111111000000011111100000001111111000000011111100000000000000111111111111100000000111111000000011111100000000000000011111111111100000000000000111111100000011111110000000111111111111100000000000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045E]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000011111110000000111111000000011111110000000111111000000000000001111110000000011111100000001111110000000111111100000001111111111111000000001111100000000111111000000011111110000000000000011111111111110000000111111000000001111110000000000000011111111111110000000000000011111100000000111110000000111111100000001111111111111000000011111111111111111111\r
+# toggle bit test\r
+# [21 (RC6A) 0x000F 0x045E]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111100000001111111000000011111100000000111111000000011111100000000111111000000011111100000000111111000000011111110000000111111000000000000001111110000000011111100000001111110000000111111111111100000000111111000000011111100000000111111000000011111110000000000000011111111111110000000111111000000011111110000000000000011111111111110000000000000011111100000001111110000000111111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045E]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111100000000111111000000011111100000000111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000000000001111110000000011111100000001111110000000011111100000001111111111111000000011111110000000111111000000001111110000000000000011111111111110000000111111000000011111110000000000000011111111111110000000000000011111100000001111110000000011111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045E]\r
+00000000000000000000000000000000000000000111111111111000000001111110000000111111000000001111111111110000000011111111111110000000000000000000011111111111110000000111111100000001111110000000011111100000001111110000000011111100000000111110000000011111100000001111111000000011111100000001111111000000000000001111110000000011111000000001111110000000111111111111100000001111110000000011111100000001111111000000011111100000000000000111111111111100000001111111000000011111100000000000000111111111111100000000000000111111000000001111110000000111111000000001111111111110000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045E]\r
+0000000000000000000000000000000000000000111111111111100000000111111000000011111100000001111111111111000000001111111111110000000000000000000001111111111111000000011111110000000111111000000011111110000000111111000000001111110000000111111000000001111110000000111111000000001111110000000111111100000000000001111111000000011111100000001111111000000011111100000001111111111111000000011111110000000111111000000001111110000000000000011111111111110000000111111000000001111110000000000000011111111111110000000000000011111100000001111111000000011111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045E]\r
+00000000000000000000000000000000000000000111111111111100000001111111000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000011111100000000111111000000011111110000000111111000000011111110000000111111000000011111110000000111111000000001111110000000111111000000000000001111111000000011111100000001111110000000011111111111110000000111111000000001111110000000111111000000001111110000000000000011111111111110000000111111000000001111110000000000000011111111111110000000000000011111100000001111111000000011111100000001111111111111000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045E]\r
+00000000000000000000000000000000000000000111111111111100000001111110000000111111000000001111111111111000000011111111111110000000000000000000011111111111110000000011111100000001111110000000011111100000001111111000000011111100000001111111000000011111100000001111111000000011111100000000111111000000000000001111110000000111111000000001111110000000111111000000001111111111111000000011111100000001111111000000011111100000000000000111111111111100000001111111000000011111100000000000000111111111111100000000000000111111000000001111110000000111111000000001111111111110000000011111111111111111111\r
+# [21 (RC6A) 0x000F 0x045E]\r
+00000000000000000000000000000000000000000111111111111100000001111111000000011111100000001111111111111000000011111111111110000000000000000000001111111111111000000001111100000000111111000000011111100000000111111000000011111110000001111111000000011111110000000111111000000001111110000000111111000000000000001111111000000011111100000001111110000000011111111111110000000111111000000011111110000000111111000000001111110000000000000011111111111110000000111111000000001111110000000000000011111111111110000000000000011111100000001111110000000011111100000001111111111111000000011111111111111111111\r
+\r
--- /dev/null
+# Samsung FB schwarz fuer Blueray/DVD Player, Jahr 2014, Serial No: AK59-00149A\r
+# ON/OFF [ 3 0x20 0x700]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Eject [ 3 0x20 0x701]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# 1 [ 3 0x20 0x702]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111110000000011111111000000001111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111000000001111111111111111111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111111111111111111110000000011111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# 2 [ 3 0x20 0x703]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111000000011111111000000001111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# 3 [ 3 0x20 0x704]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111000000011111111000000001111111000000001111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111000000001111111100000000111111111111111111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111110000000011111111111111111111111000000001111111000000001111111111111111111111000000001111111111111111111111100000000111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# 4 [ 3 0x20 0x705]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111000000001111111111111111111111000000001111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# 5 [ 3 0x20 0x706]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000111111110000000011111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111100000000111111111111111111111100000000111111111111111111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111111111111111111000000001111111111111111111111100000000111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# 6 [ 3 0x20 0x707]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111000000001111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# 7 [ 3 0x20 0x708]\r
+00000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111111000000011111111000000001111111000000001111111111111111111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111100000000111111100000000111111110000000011111111111111111111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000011111111111111111111\r
+# 8 [ 3 0x20 0x709]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000111111110000000011111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111100000001111111111111111111111100000000111111100000000111111100000000111111111111111111111110000000011111110000000011111110000000011111110000000011111110000000011111111000000001111111111111111111111000000001111111111111111111111000000001111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# 9 [ 3 0x20 0x70A]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111110000000111111110000000011111111111111111111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Disc Menu [ 3 0x20 0x71D]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111110000000011111111000000001111111111111111111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000111111111111111111111110000000011111111111111111111110000000011111111000000011111111000000001111111000000001111111000000001111111111111111111111100000001111111100000000111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# 0 [ 3 0x20 0x70B]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000111111110000000011111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111111111111111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111110000000011111110000000011111110000000011111110000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111111111111111111100000000111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# Popup [ 3 0x20 0x720]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111111111111111111110000000011111110000000011111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# |<< [ 3 0x20 0x70D]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111000000011111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000111111110000000011111110000000011111110000000011111110000000011111111000000011111111111111111111111000000001111111000000001111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# >>| [ 3 0x20 0x711]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000111111110000000011111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111100000001111111111111111111111100000000111111100000000111111100000000111111100000000111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# << [ 3 0x20 0x712]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111110000000011111111000000011111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000011111111111111111111111000000001111111000000001111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111100000000111111110000000111111110000000011111110000000011111111111111111111110000000011111111000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# >> [ 3 0x20 0x715]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111110000000011111111111111111111110000000011111111000000011111111000000001111111000000001111111000000001111111111111111111111000000001111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Stop [ 3 0x20 0x713]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111110000000011111111000000001111111111111111111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111111111111111111100000000111111111111111111111100000000111111110000000111111110000000011111111111111111111110000000011111110000000011111111000000011111111000000001111111000000001111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Play [ 3 0x20 0x714]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111100000000111111111111111111111110000000011111110000000011111111111111111111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Pause [ 3 0x20 0x732]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111000000011111111000000001111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111110000000111111111111111111111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# Audio [ 3 0x20 0x725]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000111111110000000011111110000000011111110000000011111110000000011111111000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111100000001111111111111111111111100000000111111100000000111111111111111111111110000000111111110000000011111110000000011111111111111111111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111111111111111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Home [ 3 0x20 0x716]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111110000000011111111111111111111110000000011111111000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Subtitle [ 3 0x20 0x726]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111110000000111111111111111111111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111111111111111111000000001111111100000001111111100000000111111111111111111111100000000111111111111111111111110000000111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Tools [ 3 0x20 0x73A]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111111000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111110000000111111110000000011111111111111111111110000000011111111111111111111111000000011111111111111111111111000000001111111000000001111111000000001111111111111111111111100000001111111100000000111111111111111111111100000000111111100000000111111110000000111111110000000011111111111111111111110000000011111111111111111111111000000011111111111111111111\r
+# up [ 3 0x20 0x718]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111100000000111111110000000111111111111111111111110000000011111111111111111111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Info [ 3 0x20 0x71E]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000011111111000000001111111000000001111111000000001111111111111111111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Left [ 3 0x20 0x71B]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111110000000011111111000000001111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111111111111111111110000000111111111111111111111110000000011111110000000011111110000000011111111000000011111111000000001111111000000001111111111111111111111000000001111111000000001111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# Enter [ 3 0x20 0x71C]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000111111110000000011111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111100000001111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111110000000011111110000000011111111000000001111111111111111111111000000001111111111111111111111000000001111111100000001111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Right [ 3 0x20 0x71A]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111110000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111100000001111111111111111111111100000000111111100000000111111111111111111111110000000111111111111111111111110000000011111110000000011111110000000011111111000000011111111111111111111111000000001111111000000001111111111111111111111000000001111111100000001111111100000000111111111111111111111100000000111111111111111111111110000000111111111111111111111110000000011111111111111111111\r
+# Return [ 3 0x20 0x717]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111110000000011111111000000001111111000000001111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111110000000111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000001111111000000001111111000000001111111111111111111111000000001111111100000001111111111111111111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# Down [ 3 0x20 0x719]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000111111110000000011111110000000011111110000000011111110000000011111111000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111100000000111111111111111111111100000000111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111110000000011111110000000011111111000000001111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Exit [ 3 0x20 0x72B]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000111111110000000011111111111111111111110000000011111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111110000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# A red switch [ 3 0x20 0x721]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000111111110000000011111110000000011111110000000011111110000000011111111000000011111111111111111111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111111111111111111100000000111111100000000111111100000000111111110000000111111110000000011111111111111111111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# B green [ 3 0x20 0x722]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111110000000011111111000000001111111000000001111111000000001111111100000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111000000001111111111111111111111100000000111111100000000111111100000000111111100000000111111111111111111111110000000011111110000000011111110000000011111111111111111111110000000011111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# C yellow [ 3 0x20 0x723]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111110000000011111111000000001111111111111111111111000000001111111000000001111111100000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111111111111111111100000000111111111111111111111100000000111111110000000111111110000000011111110000000011111111111111111111110000000011111111000000011111111000000001111111000000001111111000000001111111111111111111111100000001111111111111111111111100000000111111111111111111111100000000111111100000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# D blue [ 3 0x20 0x724]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111100000000111111100000000111111100000000111111111111111111111110000000111111110000000011111110000000011111111111111111111110000000011111110000000011111111000000001111111111111111111111000000001111111111111111111111000000001111111100000000111111111111111111111100000000111111111111111111111100000000111111110000000111111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# View [ 3 0x20 0x733]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000011111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111110000000011111110000000011111111111111111111110000000011111111111111111111111000000001111111000000001111111000000001111111000000001111111000000001111111111111111111111100000000111111111111111111111100000000111111100000000111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# A-B [ 3 0x20 0x728]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111110000000011111111000000011111111000000001111111111111111111111000000001111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111000000001111111111111111111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111110000000011111110000000011111111111111111111110000000011111111000000001111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111111111111111111100000000111111110000000011111111111111111111110000000011111111111111111111110000000011111111111111111111\r
+# Repeat [ 3 0x20 0x727]\r
+00000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111110000000011111110000000011111111000000011111111000000001111111000000001111111111111111111111000000001111111100000001111111100000000111111100000000111111100000000111111100000000111111100000000111111110000000011111110000000011111110000000011111110000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111000000001111111111111111111111100000001111111111111111111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111110000000011111111000000011111111111111111111111000000001111111000000001111111000000001111111100000001111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111110000000011111111111111111111110000000011111111111111111111111000000011111111111111111111\r
+# Screen [ 3 0x20 0x739]\r
+000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111100000000111111100000000111111110000000111111110000000011111110000000011111110000000011111111111111111111111000000011111111000000001111111000000001111111000000001111111000000001111111000000001111111100000000111111100000000111111100000000111111100000000111111100000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111110000000011111111111111111111111000000001111111111111111111111000000001111111000000001111111111111111111111100000001111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111110000000011111110000000011111110000000011111111000000011111111111111111111111000000001111111111111111111111000000001111111100000001111111100000000111111100000000111111111111111111111100000000111111111111111111111110000000011111111111111111111\r
+# siehe samsung32_TV_15kHz.txt) gibt auch 4 Tasten fuer den TV, schoen das nach 12 Jahren noch die gleichen Adressen und Commands gelten.\r
+# Source [10 0x707 0xFE01]\r
+0000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111100000000011111111000000001111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111100000000111111111000000001111111110000000011111111100000000111111111000000001111111110000000011111111111111111111111111000000001111111110000000011111111100000000111111111000000001111111110000000011111111100000000111111111000000001111111110000000011111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111\r
+# ON/OFF [10 0x707 0xFD02]\r
+0000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111100000000011111111000000000111111110000000001111111100000000111111111000000001111111110000000011111111100000000111111111111111111111111110000000011111111100000000111111111000000001111111110000000011111111100000000111111111000000001111111110000000011111111111111111111111111000000001111111110000000011111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111\r
+# VOL - [10 0x707 0xF40B]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111100000000011111111000000000111111110000000001111111100000000011111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111111111111111111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111100000000011111111000000000111111111111111111111111100000000011111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111100000000011111111111111111111\r
+# VOL + [10 0x707 0xF807]\r
+0000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111100000000011111111000000000111111110000000001111111100000000111111111000000000111111110000000001111111100000000011111111000000000111111111111111111111111100000000111111111111111111111111110000000011111111111111111111111111000000001111111111111111111111111100000000111111111111111111111111110000000011111111111111111111\r
--- /dev/null
+# Samsung FB grau fuer TV, Jahr 2002, Serial No: BN59-00454A\r
+# [10 (SAMSG32) 0x707 0xFD02]\r
+0000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111100000000111111111000000001111111110000000011111111000000001111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000111111111100000000111111111000000001111111110000000011111111000000001111111111000000001111111110000000011111111111111111111111110000000001111111100000000111111111100000000111111110000000001111111100000000111111111000000001111111110000000001111111111111111111111111000000001111111110000000011111111111111111111111110000000011111111111111111111111111100000000111111111111111111111111100000000111111111111111111111111110000000111111111111111111111111110000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xD32C]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000011111111110000000011111111000000000111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111000000001111111111111111111111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111110000000001111111100000000011111111100000000011111111111111111111111110000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xBD42]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111000000000111111110000000011111111100000000011111111000000001111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111000000000011111111000000000111111110000000011111111100000000111111111000000001111111110000000001111111100000000011111111111111111111111100000000011111111000000000111111111000000000111111110000000011111111000000000111111111111111111111111100000000011111111000000000111111111111111111111111100000000111111111000000001111111111111111111111111000000000111111111111111111111111110000000011111111111111111111111110000000001111111111111111111111111000000001111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xDF20]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000001111111100000000001111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111100000000011111111100000000111111110000000001111111111111111111111111000000001111111100000000011111111100000000011111111111111111111111100000000001111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111100000000011111111111111111111111100000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xFC03]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000111111110000000011111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111100000000011111111100000000011111111000000000111111110000000011111111100000000111111111000000000111111110000000001111111000000000011111111111111111111111100000000011111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xFB04]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000011111111110000000001111111000000000111111110000000001111111111111111111111111000000000111111110000000001111111100000000011111111000000001111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xFA05]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000011111111100000000001111111111111111111111110000000001111111100000000011111111111111111111111100000000011111111100000000111111111000000001111111100000000011111111000000001111111111000000001111111100000000011111111111111111111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF906]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000011111111111111111111111000000000111111111111111111111111100000000011111111100000000111111110000000001111111100000000011111111000000000111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111100000000111111110000000001111111100000000011111111000000001111111110000000001111111100000000011111111111111111111111100000000011111111111111111111111110000000001111111110000000011111111000000000111111110000000001111111100000000011111111000000000111111111111111111111111100000000011111111000000000111111100000000011111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF708]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000011111111111111111111111110000000011111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000001111111110000000001111111100000000011111111000000000111111110000000001111111000000000011111111111111111111111110000000011111111100000000111111111000000001111111100000000011111111100000000011111111111111111111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF609]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111000000000111111110000000001111111100000000111111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000111111111000000001111111110000000001111111111111111111111111000000000111111100000000011111111000000000111111111111111111111111110000000011111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF50A]\r
+00000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000111111110000000001111111110000000001111111100000000011111111111111111111111100000000011111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000111111111000000000111111111111111111111111100000000011111110000000001111111111111111111111111000000001111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF30C]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000011111111000000000111111110000000001111111111111111111111110000000001111111111111111111111111100000000011111111000000001111111110000000011111111000000000111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111110000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF20D]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000001111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111100000000011111111111111111111111100000000011111111111111111111111111000000001111111100000000011111111000000001111111110000000001111111100000000011111111000000000111111111111111111111111100000000011111110000000001111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF10E]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111111111000000000111111110000000011111111000000000111111110000000011111111110000000001111111111111111111111110000000001111111100000000011111110000000000111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0x926D]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111100000000111111110000000001111111100000000011111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111100000000111111110000000001111111100000000011111111000000001111111110000000001111111111111111111111111000000000111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111000000000111111100000000011111111111111111111111110000000001111111100000000011111111000000000111111111111111111111111100000000011111111000000001111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xEE11]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111100000000011111110000000001111111110000000001111111111111111111111111000000000111111110000000011111111000000000111111111000000000111111110000000011111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111100000000111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xEC13]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000001111111110000000001111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111100000000011111111111111111111111110000000011111111100000000111111110000000001111111110000000001111111100000000011111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF00F]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000001111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000111111111000000000111111110000000001111111100000000111111110000000001111111110000000001111111111111111111111111000000001111111111111111111111111000000001111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF807]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000001111111111000000001111111100000000011111111000000001111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111000000000111111110000000001111111000000000111111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xF40B]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000001111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000001111111111000000001111111100000000011111111000000001111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000001111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111100000000011111111111111111111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111111111111111111110000000001111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xED12]\r
+00000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111100000000011111111000000001111111100000000011111111000000000111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111100000000011111111000000001111111100000000011111111000000000111111111000000000111111100000000011111111111111111111111110000000001111111000000000011111111000000000111111111111111111111111100000000111111111000000001111111100000000011111111100000000111111111111111111111111100000000011111111000000000111111111111111111111111000000000111111111111111111111111110000000001111111100000000011111111111111111111111100000000011111111111111111111111110000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xEF10]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000001111111110000000001111111000000000111111110000000001111111100000000011111111100000000111111111111111111111111100000000011111111000000000111111110000000011111111100000000011111111111111111111111100000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111100000000011111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xFE01]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111100000000111111110000000001111111110000000001111111111111111111111110000000000111111111111111111111111000000001111111111111111111111111000000000111111111000000000111111110000000011111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111100000000011111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000001111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xE51A]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000111111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111000000000011111111000000000111111110000000001111111100000000111111111000000001111111110000000001111111100000000011111111111111111111111100000000011111111000000000111111111111111111111111110000000011111111111111111111111110000000001111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111100000000011111111111111111111111110000000001111111110000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xE41B]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000011111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111000000000111111110000000001111111100000000011111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111000000001111111100000000011111111100000000011111111000000000111111100000000011111111111111111111111110000000001111111110000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xE01F]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000011111111000000000111111110000000001111111110000000001111111000000000111111110000000001111111100000000011111111100000000011111111000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xD22D]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111000000000011111111000000000111111110000000001111111100000000011111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000111111111000000001111111110000000001111111111111111111111110000000000111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111110000000001111111111111111111111110000000001111111100000000011111111100000000011111110000000001111111111111111111111111000000000111111110000000001111111110000000011111111111111111111111110000000001111111100000000111111111111111111111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0x9F60]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000111111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000011111111000000001111111110000000001111111100000000011111111000000000111111100000000011111111100000000011111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111000000001111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0x9A65]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111111111111111111110000000001111111000000000111111111111111111111111100000000011111111100000000111111111000000001111111111111111111111111000000001111111111111111111111111000000000111111111000000000111111110000000001111111111111111111111110000000001111111100000000011111111111111111111111111000000001111111111111111111111111000000000111111110000000011111111000000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0x9D62]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000001111111000000000111111111111111111111111100000000011111110000000001111111110000000001111111100000000011111111111111111111111100000000011111111111111111111111110000000001111111100000000011111111111111111111111110000000001111111100000000011111111111111111111111100000000011111111111111111111111111000000001111111111111111111111111000000001111111110000000001111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0x9E61]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111100000000111111110000000001111111100000000011111111000000001111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000011111111000000001111111110000000001111111111111111111111111000000000111111100000000011111111000000000111111111000000000111111110000000011111111111111111111111110000000001111111111111111111111111000000001111111110000000001111111100000000011111111111111111111111100000000011111111111111111111111110000000001111111111111111111111111000000000011111111111111111111111100000000111111111000000001111111100000000011111111111111111111111110000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0x936C]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000001111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000001111111111000000001111111100000000011111111000000000111111110000000011111111100000000011111111000000000011111110000000001111111111111111111111110000000001111111111111111111111111100000000111111111000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111111111111111111111000000000011111111111111111111111100000000011111111000000000111111111000000001111111111111111111111111000000000111111110000000011111111000000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xEB14]\r
+000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111000000000111111110000000001111111100000000011111111000000000111111110000000001111111111111111111111110000000001111111110000000011111111111111111111111111000000001111111100000000011111111000000000111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111110000000001111111111111111111111111100000000011111111000000001111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xEA15]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000011111111111111111111111110000000001111111111111111111111111000000001111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111100000000111111111111111111111111100000000011111111100000000011111111111111111111111110000000011111111000000000111111110000000001111111110000000001111111000000000011111111111111111111111100000000011111110000000001111111111111111111111111100000000011111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xE916]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111100000000011111111111111111111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111100000000011111111000000001111111111111111111111111100000000011111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xC53A]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000011111111000000000111111110000000011111111100000000111111110000000001111111110000000001111111100000000011111111111111111111111100000000011111111000000000111111111111111111111111100000000011111111111111111111111110000000011111111111111111111111110000000001111111100000000011111111000000000011111111111111111111111100000000011111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111100000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xE619]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000001111111100000000011111110000000001111111110000000001111111111111111111111110000000000111111100000000011111111000000000111111111111111111111111100000000011111111111111111111111110000000001111111100000000111111110000000001111111110000000001111111100000000011111111111111111111111100000000011111111111111111111111100000000001111111100000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xC13E]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111000000000111111111000000001111111110000000011111111000000000111111110000000001111111110000000001111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111110000000001111111110000000001111111111111111111111110000000000111111100000000011111111000000000111111111000000001111111110000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0x9669]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111100000000011111111000000000111111111111111111111111100000000111111111000000000111111111111111111111111000000000111111111111111111111111100000000111111111000000000111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111111111111111111111000000000111111110000000001111111100000000011111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xDB24]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111100000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111100000000111111110000000001111111110000000001111111000000000011111110000000001111111111111111111111111000000000111111111000000001111111100000000011111111111111111111111110000000011111111000000000111111111000000000111111111111111111111111000000000111111111111111111111111100000000011111111000000000111111111111111111111111100000000011111111111111111111111110000000011111111000000000111111111111111111111111100000000011111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xDE21]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111100000000011111110000000000111111110000000001111111100000000011111111111111111111111110000000011111111000000001111111111000000000111111110000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111100000000011111111111111111111111110000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xD02F]\r
+000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111110000000000111111111111111111111111000000000111111111111111111111111110000000011111111000000000111111111111111111111111100000000111111110000000001111111110000000001111111100000000011111110000000000111111100000000011111111100000000011111111111111111111111110000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
+# [10 (SAMSG32) 0x707 0xDD22]\r
+00000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111111111111111111110000000001111111111111111111111111000000000111111111111111111111111000000000111111111000000000111111110000000011111111000000000111111110000000001111111110000000001111111000000000111111111111111111111111100000000011111111000000000111111110000000001111111100000000011111111111111111111111110000000011111111000000000111111111000000000111111111111111111111111000000000111111110000000001111111111111111111111111000000000111111111111111111111111100000000011111111111111111111111110000000011111111000000000111111111111111111111111100000000111111111111111111111111100000000011111111111111111111\r
IRMP - Infrared Multi Protocol Decoder\r
--------------------------------------\r
\r
-Version IRMP: 2.9.7b 2015-11-30\r
-Version IRSND: 2.9.7b 2015-11-30\r
+Version IRMP: 3.0.0 2016-01-12\r
+Version IRSND: 3.0.0 2016-01-12\r
\r
-Dokumentation:\r
+Documentation:\r
\r
http://www.mikrocontroller.net/articles/IRMP\r
+ http://www.mikrocontroller.net/articles/IRMP_-_english\r
+\r
+ http://www.mikrocontroller.net/articles/IRSND\r
+ http://www.mikrocontroller.net/articles/IRSND_-_english\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
- * main.c - demo main module to test irmp decoder\r
+ * irmp-main-avr-uart.cpp - demo main module to test IRMP decoder on AVR with UART\r
*\r
- * Copyright (c) 2009-2015 Frank Meyer - frank(at)fli4l.de\r
+ * Copyright (c) 2009-2016 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: main.c,v 1.27 2015/02/27 10:19:20 fm Exp $\r
+ * $Id: irmp-main-avr-uart.c,v 1.1 2016/01/12 11:55:05 fm Exp $\r
*\r
- * This demo module is runnable on AVRs and LM4F120 Launchpad (ARM Cortex M4)\r
+ * This demo module is runnable on AVRs with UART\r
*\r
* ATMEGA88 @ 8 MHz internal RC Osc with BODLEVEL 4.3V: lfuse: 0xE2 hfuse: 0xDC efuse: 0xF9\r
* ATMEGA88 @ 8 MHz external Crystal Osc with BODLEVEL 4.3V: lfuse: 0xFF hfuse: 0xDC efuse: 0xF9\r
* ATMEL AVR part:\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r
*/\r
-#if defined (ATMEL_AVR)\r
-\r
-#include "irmp.h"\r
#define BAUD 9600L\r
#include <util/setbaud.h>\r
\r
}\r
}\r
}\r
-\r
-/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
- * LM4F120 Launchpad (ARM Cortex M4):\r
- *---------------------------------------------------------------------------------------------------------------------------------------------------\r
- */\r
-#elif defined(STELLARIS_ARM_CORTEX_M4)\r
-\r
-void\r
-timer1_init (void)\r
-{\r
- SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMER1);\r
- TimerConfigure(TIMER1_BASE, TIMER_CFG_32_BIT_PER);\r
-\r
- TimerLoadSet(TIMER1_BASE, TIMER_A, (F_CPU / F_INTERRUPTS) -1);\r
- IntEnable(INT_TIMER1A);\r
- TimerIntEnable(TIMER1_BASE, TIMER_TIMA_TIMEOUT);\r
- TimerEnable(TIMER1_BASE, TIMER_A);\r
- // Important: Timer1IntHandler has to be configured in startup_ccs.c !\r
-}\r
-\r
-void\r
-Timer1IntHandler(void) // Timer1 Interrupt Handler\r
-{\r
- (void) irmp_ISR(); // call irmp ISR\r
- // call other timer interrupt routines...\r
-}\r
-\r
-int\r
-main (void)\r
-{\r
- IRMP_DATA irmp_data;\r
-\r
- ROM_FPUEnable();\r
- ROM_FPUStackingEnable();\r
- ROM_SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN);\r
-\r
- irmp_init(); // initialize irmp\r
- timer1_init(); // initialize timer1\r
- sei (); // enable interrupts\r
-\r
- for (;;)\r
- {\r
- if (irmp_get_data (&irmp_data))\r
- {\r
- // ir signal decoded, do something here...\r
- // irmp_data.protocol is the protocol, see irmp.h\r
- // irmp_data.address is the address/manufacturer code of ir sender\r
- // irmp_data.command is the command code\r
- // irmp_protocol_names[irmp_data.protocol] is the protocol name (if enabled, see irmpconfig.h)\r
- }\r
- }\r
-}\r
-\r
-/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
- * PIC18F4520 with XC8 compiler:\r
- *---------------------------------------------------------------------------------------------------------------------------------------------------\r
- */\r
-#elif defined (__XC8)\r
-\r
-#define _XTAL_FREQ 32000000UL // 32MHz clock\r
-#define FOSC _XTAL_FREQ\r
-#define FCY FOSC / 4UL // --> 8MHz\r
-\r
-#define BAUDRATE 19200UL\r
-#define BRG (( FCY 16 BAUDRATE ) -1UL)\r
-\r
-#include <stdio.h>\r
-#include <stdlib.h>\r
-\r
-int\r
-main (void)\r
-{\r
- IRMP_DATA irmp_data;\r
-\r
- irmp_init(); // initialize irmp\r
-\r
- // infinite loop, interrupts will blink PORTD pins and handle UART communications.\r
- while (1)\r
- {\r
- LATBbits.LATB0 = ~LATBbits.LATB0;\r
-\r
- if (irmp_get_data (&irmp_data))\r
- {\r
- // ir signal decoded, do something here...\r
- // irmp_data.protocol is the protocol, see irmp.h\r
- // irmp_data.address is the address/manufacturer code of ir sender\r
- // irmp_data.command is the command code\r
- // irmp_protocol_names[irmp_data.protocol] is the protocol name (if enabled, see irmpconfig.h)\r
- printf("proto %d addr %d cmd %d\n", irmp_data.protocol, irmp_data.address, irmp_data.command );\r
- }\r
- }\r
-}\r
-\r
-void interrupt high_priority high_isr(void)\r
-{\r
- if (TMR2IF)\r
- {\r
- TMR2IF = 0; // clear Timer 0 interrupt flag\r
- irmp_ISR();\r
- }\r
-}\r
-\r
-/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
- * STM32:\r
- *---------------------------------------------------------------------------------------------------------------------------------------------------\r
- */\r
-#elif defined(ARM_STM32)\r
-\r
-uint32_t\r
-SysCtlClockGet(void)\r
-{\r
- RCC_ClocksTypeDef RCC_ClocksStatus;\r
- RCC_GetClocksFreq(&RCC_ClocksStatus);\r
- return RCC_ClocksStatus.SYSCLK_Frequency;\r
-}\r
-\r
-void\r
-timer2_init (void)\r
-{\r
- TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;\r
- NVIC_InitTypeDef NVIC_InitStructure;\r
- RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE);\r
-\r
- TIM_TimeBaseStructure.TIM_ClockDivision = TIM_CKD_DIV1;\r
- TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up;\r
- TIM_TimeBaseStructure.TIM_Period = 7;\r
- TIM_TimeBaseStructure.TIM_Prescaler = ((F_CPU / F_INTERRUPTS)/8) - 1;\r
- TIM_TimeBaseInit(TIM2, &TIM_TimeBaseStructure);\r
-\r
- TIM_ITConfig(TIM2, TIM_IT_Update, ENABLE);\r
-\r
- NVIC_InitStructure.NVIC_IRQChannel = TIM2_IRQn;\r
- NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;\r
- NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0F;\r
- NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0x0F;\r
- NVIC_Init(&NVIC_InitStructure);\r
-\r
- TIM_Cmd(TIM2, ENABLE);\r
-}\r
-\r
-void\r
-TIM2_IRQHandler(void) // Timer2 Interrupt Handler\r
-{\r
- TIM_ClearITPendingBit(TIM2, TIM_IT_Update);\r
- (void) irmp_ISR(); // call irmp ISR\r
- // call other timer interrupt routines...\r
-}\r
-\r
-int\r
-main (void)\r
-{\r
- IRMP_DATA irmp_data;\r
- \r
- irmp_init(); // initialize irmp\r
- timer2_init(); // initialize timer2\r
-\r
- for (;;)\r
- {\r
- if (irmp_get_data (&irmp_data))\r
- {\r
- // ir signal decoded, do something here...\r
- // irmp_data.protocol is the protocol, see irmp.h\r
- // irmp_data.address is the address/manufacturer code of ir sender\r
- // irmp_data.command is the command code\r
- // irmp_protocol_names[irmp_data.protocol] is the protocol name (if enabled, see irmpconfig.h)\r
- }\r
- }\r
-}\r
-#endif\r
--- /dev/null
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * irmp-main-avr.c - demo main module to test IRMP decoder on AVR\r
+ *\r
+ * Copyright (c) 2009-2017 Frank Meyer - frank(at)fli4l.de\r
+ *\r
+ * $Id: irmp-main-avr.c,v 1.1 2016/01/12 11:55:05 fm Exp $\r
+ *\r
+ * This demo module is runnable on AVRs\r
+ *\r
+ * ATMEGA88 @ 8 MHz internal RC Osc with BODLEVEL 4.3V: lfuse: 0xE2 hfuse: 0xDC efuse: 0xF9\r
+ * ATMEGA88 @ 8 MHz external Crystal Osc with BODLEVEL 4.3V: lfuse: 0xFF hfuse: 0xDC efuse: 0xF9\r
+ *\r
+ * This program is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+\r
+#include "irmp.h"\r
+\r
+#ifndef F_CPU\r
+#error F_CPU unknown\r
+#endif\r
+\r
+static void\r
+timer1_init (void)\r
+{\r
+#if defined (__AVR_ATtiny45__) || defined (__AVR_ATtiny85__) // ATtiny45 / ATtiny85:\r
+\r
+#if F_CPU >= 16000000L\r
+ OCR1C = (F_CPU / F_INTERRUPTS / 8) - 1; // compare value: 1/15000 of CPU frequency, presc = 8\r
+ TCCR1 = (1 << CTC1) | (1 << CS12); // switch CTC Mode on, set prescaler to 8\r
+#else\r
+ OCR1C = (F_CPU / F_INTERRUPTS / 4) - 1; // compare value: 1/15000 of CPU frequency, presc = 4\r
+ TCCR1 = (1 << CTC1) | (1 << CS11) | (1 << CS10); // switch CTC Mode on, set prescaler to 4\r
+#endif\r
+\r
+#else // ATmegaXX:\r
+ OCR1A = (F_CPU / F_INTERRUPTS) - 1; // compare value: 1/15000 of CPU frequency\r
+ TCCR1B = (1 << WGM12) | (1 << CS10); // switch CTC Mode on, set prescaler to 1\r
+#endif\r
+\r
+#ifdef TIMSK1\r
+ TIMSK1 = 1 << OCIE1A; // OCIE1A: Interrupt by timer compare\r
+#else\r
+ TIMSK = 1 << OCIE1A; // OCIE1A: Interrupt by timer compare\r
+#endif\r
+}\r
+\r
+#ifdef TIM1_COMPA_vect // ATtiny84\r
+#define COMPA_VECT TIM1_COMPA_vect\r
+#else\r
+#define COMPA_VECT TIMER1_COMPA_vect // ATmega\r
+#endif\r
+\r
+ISR(COMPA_VECT) // Timer1 output compare A interrupt service routine, called every 1/15000 sec\r
+{\r
+ (void) irmp_ISR(); // call irmp ISR\r
+ // call other timer interrupt routines...\r
+}\r
+\r
+int\r
+main (void)\r
+{\r
+ IRMP_DATA irmp_data;\r
+\r
+ irmp_init(); // initialize IRMP\r
+ timer1_init(); // initialize timer1\r
+\r
+ sei (); // enable interrupts\r
+\r
+ for (;;)\r
+ {\r
+ if (irmp_get_data (&irmp_data))\r
+ {\r
+ ; // got an IR message, do something\r
+ }\r
+ }\r
+}\r
--- /dev/null
+/******************************************************************************\r
+\r
+Test program IRMP for ESP8266 2015-11-16 Wolfgang Strobl, Bonn\r
+\r
+IRMP ported to ESP8266, testet with MOD-WIFI-ESP8266-DEV on\r
+ESP8266-EVB evaluation board. https://www.olimex.com/Products/IoT/ESP8266-EVB/\r
+\r
+Connections\r
+-----------\r
+\r
+Input TSOP via 1k resistor at GPIO12 (Pin 7 UEXT), \r
+Output via UART (Pin 3/4 UEXT)\r
+\r
+example output\r
+---------------\r
+\r
+ESP8266 IRMP Test v0.3 W.Strobl 20151120\r
+F_INTERRUPTS==15000\r
+SDK version: 1.4.1(pre2) Chip ID=10619495\r
+data : 0x3ffe8000 ~ 0x3ffe837a, len: 890\r
+rodata: 0x3ffe8380 ~ 0x3ffe891c, len: 1436\r
+bss : 0x3ffe8920 ~ 0x3ffef4c0, len: 27552\r
+heap : 0x3ffef4c0 ~ 0x3fffc000, len: 52032\r
+free heap size=51784, system time=330392, rtc time=59472\r
+IRMP listening ...\r
+mode : sta(18:fe:34:a2:0a:67)\r
+add if0\r
+\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x23f1, f=0\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x1ffe, f=0\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x28fc, f=0\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x0113, f=0\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x28fc, f=0\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x09ff, f=0\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x28fc, f=0\r
+IRMP TELEFUNKEN(34): addr=0x0000 cmd=0x0113, f=0\r
+IRMP KASEIKYO( 5): addr=0x2002 cmd=0x9001, f=0\r
+IRMP KASEIKYO( 5): addr=0x2002 cmd=0x9b40, f=0\r
+IRMP SIRCS( 1): addr=0x0809 cmd=0x1d0b, f=0\r
+IRMP SIRCS( 1): addr=0x0809 cmd=0x1d7a, f=0\r
+IRMP SIRCS( 1): addr=0x0809 cmd=0x1d7c, f=0\r
+IRMP SIRCS( 1): addr=0x0809 cmd=0x1d79, f=0\r
+IRMP SIRCS( 1): addr=0x0809 cmd=0x1d7c, f=0\r
+IRMP SAMSG32(10): addr=0x2d2d cmd=0xc639, f=0\r
+IRMP SAMSG32(10): addr=0x2d2d cmd=0xb54a, f=0\r
+\r
+*******************************************************************************/\r
+\r
+#include "ets_sys.h"\r
+#include "osapi.h"\r
+#include "driver/uart.h"\r
+#include "gpio.h"\r
+#include "os_type.h"\r
+#include "mem.h"\r
+\r
+#include "irmp.h"\r
+\r
+// hardware timer (driven by NMI)\r
+\r
+typedef enum {\r
+ FRC1_SOURCE = 0,\r
+ NMI_SOURCE = 1,\r
+} FRC1_TIMER_SOURCE_TYPE;\r
+\r
+void hw_timer_set_func (void (* user_hw_timer_cb_set)(void));\r
+\r
+void hw_timer_init (\r
+FRC1_TIMER_SOURCE_TYPE source_type,\r
+u8 req)\r
+;\r
+\r
+void irmp_timer(void)\r
+{\r
+ irmp_ISR ();\r
+}\r
+\r
+// info\r
+\r
+void meminfo(void)\r
+{\r
+ os_printf("free heap size=%u, system time=%u, rtc time=%u \n",\r
+ system_get_free_heap_size(),\r
+ system_get_time(),\r
+ system_get_rtc_time());\r
+}\r
+\r
+void sysinfo(void)\r
+{\r
+ os_printf("SDK version: %s Chip ID=%u\n",\r
+ system_get_sdk_version(),\r
+ system_get_chip_id());\r
+ system_print_meminfo();\r
+ meminfo();\r
+}\r
+\r
+// Tasks\r
+\r
+#define user_procTaskPrio 0\r
+#define user_procTaskQueueLen 1\r
+\r
+os_event_t user_procTaskQueue[user_procTaskQueueLen];\r
+static void user_procTask(os_event_t *events);\r
+\r
+// unbuffered Uart-rx, based on a comment in\r
+// https://github.com/SuperHouse/esp-open-rtos/issues/18\r
+\r
+int my_rx_one_char(void) // char or -1 \r
+{\r
+ int c = READ_PERI_REG(UART_STATUS(0)) & 0xff;\r
+ if (c) return READ_PERI_REG(UART_FIFO(0));\r
+ return -1;\r
+}\r
+\r
+\r
+IRMP_DATA irmp_data;\r
+\r
+//------------------ User Task ---------------------\r
+\r
+static void \r
+user_procTask(os_event_t *events)\r
+{\r
+ int rc = irmp_get_data (&irmp_data); \r
+ \r
+ if (rc)\r
+ {\r
+ os_printf("\nIRMP %10s(%2d): addr=0x%04x cmd=0x%04x, f=%d ",\r
+ irmp_protocol_names[ irmp_data.protocol],\r
+ irmp_data.protocol,\r
+ irmp_data.address,\r
+ irmp_data.command,\r
+ irmp_data.flags\r
+ );\r
+ }\r
+ \r
+ // https://github.com/SuperHouse/esp-open-rtos/issues/18\r
+ // uart_rx_one_char ist offenbar eine ROM-Funktion.\r
+ \r
+ int c = my_rx_one_char();\r
+ \r
+ if(c != -1) \r
+ {\r
+ uart_tx_one_char(0,c);\r
+ os_printf("(0x%02x, %d) ",c,c);\r
+ switch(c)\r
+ {\r
+ case '.':\r
+ os_printf("\nTime=%d, GPIO12=%d, ",\r
+ system_get_time(),GPIO_INPUT_GET(12));\r
+ os_printf("gpio=%08x ",gpio_input_get());\r
+ break;\r
+ }\r
+ } \r
+ os_delay_us(100);\r
+ system_os_post(user_procTaskPrio, 0, 0 ); \r
+}\r
+\r
+// Init function \r
+\r
+void ICACHE_FLASH_ATTR\r
+user_init()\r
+{\r
+ void* p;\r
+ uint32 now,diff;\r
+ \r
+ //~ system_timer_reinit(); //US_TIMER\r
+ \r
+ uart_init(BIT_RATE_115200, BIT_RATE_115200); \r
+ os_printf("\n\nESP8266 IRMP Test v0.3 W.Strobl 20151120\n");\r
+\r
+ os_printf("F_INTERRUPTS==%d\n",F_INTERRUPTS);\r
+ \r
+ sysinfo();\r
+ \r
+ hw_timer_init(NMI_SOURCE,1);\r
+ hw_timer_set_func(irmp_timer);\r
+ hw_timer_arm (1000000/F_INTERRUPTS);\r
+ \r
+ // Initialize the GPIO subsystem.\r
+ gpio_init();\r
+ \r
+ \r
+ irmp_init ();\r
+ \r
+ //Start os task\r
+ \r
+ system_os_task(user_procTask, user_procTaskPrio,user_procTaskQueue, user_procTaskQueueLen);\r
+ system_os_post(user_procTaskPrio, 0, 0 );\r
+ \r
+ os_printf("IRMP listening ...\n");\r
+ \r
+}\r
--- /dev/null
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * irmp-main-mbed.cpp - demo main module to test IRMP decoder on AVR\r
+ *\r
+ * $Id: irmp-main-mbed.cpp,v 1.1 2016/01/12 11:55:05 fm Exp $\r
+ *\r
+ * This demo module is runnable on MBED boards\r
+ *\r
+ * This program is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+\r
+#include "mbed.h"\r
+#include "irmp.h"\r
+\r
+#define LED_ON 0\r
+#define LED_OFF 1\r
+\r
+DigitalOut led(P0_14, 1);\r
+DigitalOut flash(P0_12, 1);\r
+\r
+Ticker t;\r
+\r
+// only for performance test\r
+Timer timerPerfTest;\r
+int timeISRMax = 0;\r
+float timeISRAvg;\r
+int timeISRAvgSum = 0;\r
+int countISRCalls = 0;\r
+\r
+void irmpISR(void)\r
+{\r
+ int t1 = timerPerfTest.read_us();\r
+\r
+ irmp_ISR(); // call irmp ISR\r
+\r
+ int timeISR = timerPerfTest.read_us() - t1; // calc time spent in worker ISR\r
+ if (timeISR > timeISRMax) // store maximum\r
+ {\r
+ timeISRMax = timeISR;\r
+ }\r
+ timeISRAvgSum += timeISR; // sum for avg\r
+ countISRCalls++;\r
+}\r
+\r
+int main()\r
+{\r
+ printf("IRMP on mbed\n");\r
+\r
+ led = LED_OFF;\r
+ timerPerfTest.start();\r
+\r
+ IRMP_DATA irmp_data;\r
+\r
+ irmp_init(); // initialize irmp\r
+ t.attach_us(&irmpISR, 1E6 / F_INTERRUPTS); // call ISR 15000/s\r
+\r
+ // infinite loop, interrupts will toggle PORTD pins and handle UART communications.\r
+ while (1)\r
+ {\r
+ flash = !flash;\r
+\r
+ if (irmp_get_data (&irmp_data))\r
+ {\r
+ // ir signal decoded, do something here...\r
+ // irmp_data.protocol is the protocol, see irmp.h\r
+ // irmp_data.address is the address/manufacturer code of ir sender\r
+ // irmp_data.command is the command code\r
+ // irm_data.flags is press/release information\r
+ // irmp_protocol_names[irmp_data.protocol] is the protocol name (if enabled, see irmpconfig.h)\r
+ // printf("proto %d addr %d cmd %d\n", irmp_data.protocol, irmp_data.address, irmp_data.command );\r
+\r
+ // sample decoding, toggle LED\r
+ if (irmp_data.protocol == IRMP_RC5_PROTOCOL && irmp_data.address == 5) // old RC5 VCR Remote. TV uses address 0\r
+ {\r
+ if (irmp_data.flags == 0) // switch only on button press\r
+ {\r
+ switch (irmp_data.command)\r
+ {\r
+ case 0: // Key '0'\r
+ led = LED_OFF;\r
+ break;\r
+ case 1: // Key '1'\r
+ led = LED_ON;\r
+ break;\r
+ case 53: // Key 'play'\r
+ printf("bring me a beer!\n");\r
+ break;\r
+ case 54: // Key 'stop'\r
+ timeISRAvg = (float)timeISRAvgSum / countISRCalls;\r
+ timeISRAvgSum = 0;\r
+ countISRCalls = 0;\r
+ printf("ISR max / avg runtime [microseconds] : %d / %5.2f\n", timeISRMax, timeISRAvg);\r
+ timeISRMax = 0;\r
+ break;\r
+ }\r
+ }\r
+ }\r
+\r
+ // log to stdout\r
+ printf("proto %d addr %d cmd %d flags %x name %s\n", irmp_data.protocol, irmp_data.address, irmp_data.command, irmp_data.flags, irmp_protocol_names[irmp_data.protocol] );\r
+ }\r
+ }\r
+}\r
--- /dev/null
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * main.c - demo main module to test IRMP decoder on PIC18F4520 with XC8 compiler\r
+ *\r
+ * Copyright (c) 2009-2016 Frank Meyer - frank(at)fli4l.de\r
+ *\r
+ * $Id: irmp-main-pic-xc8.c,v 1.1 2016/01/12 11:55:05 fm Exp $\r
+ *\r
+ * This demo module is runnable on PIC18F4520 with XC8 compiler\r
+ *\r
+ * This program is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+\r
+#include "irmp.h"\r
+\r
+#ifndef F_CPU\r
+#error F_CPU unknown\r
+#endif\r
+\r
+#define _XTAL_FREQ 32000000UL // 32MHz clock\r
+#define FOSC _XTAL_FREQ\r
+#define FCY FOSC / 4UL // --> 8MHz\r
+\r
+#define BAUDRATE 19200UL\r
+#define BRG (( FCY 16 BAUDRATE ) -1UL)\r
+\r
+#include <stdio.h>\r
+#include <stdlib.h>\r
+\r
+int\r
+main (void)\r
+{\r
+ IRMP_DATA irmp_data;\r
+\r
+ irmp_init(); // initialize irmp\r
+\r
+ // infinite loop, interrupts will blink PORTD pins and handle UART communications.\r
+ while (1)\r
+ {\r
+ LATBbits.LATB0 = ~LATBbits.LATB0;\r
+\r
+ if (irmp_get_data (&irmp_data))\r
+ {\r
+ // ir signal decoded, do something here...\r
+ // irmp_data.protocol is the protocol, see irmp.h\r
+ // irmp_data.address is the address/manufacturer code of ir sender\r
+ // irmp_data.command is the command code\r
+ // irmp_protocol_names[irmp_data.protocol] is the protocol name (if enabled, see irmpconfig.h)\r
+ printf("proto %d addr %d cmd %d\n", irmp_data.protocol, irmp_data.address, irmp_data.command );\r
+ }\r
+ }\r
+}\r
+\r
+void interrupt high_priority high_isr(void)\r
+{\r
+ if (TMR2IF)\r
+ {\r
+ TMR2IF = 0; // clear Timer 0 interrupt flag\r
+ irmp_ISR();\r
+ }\r
+}\r
--- /dev/null
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * irmp-main-stellaris-arm.c - demo main module to test IRMP decoder on LM4F120 Launchpad (ARM Cortex M4)\r
+ *\r
+ * Copyright (c) 2009-2016 Frank Meyer - frank(at)fli4l.de\r
+ *\r
+ * $Id: irmp-main-stellaris-arm.c,v 1.1 2016/01/12 11:55:05 fm Exp $\r
+ *\r
+ * This demo module is runnable on LM4F120 Launchpad (ARM Cortex M4)\r
+ *\r
+ * This program is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+\r
+#include "irmp.h"\r
+\r
+#ifndef F_CPU\r
+#error F_CPU unknown\r
+#endif\r
+\r
+void\r
+timer1_init (void)\r
+{\r
+ SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMER1);\r
+ TimerConfigure(TIMER1_BASE, TIMER_CFG_32_BIT_PER);\r
+\r
+ TimerLoadSet(TIMER1_BASE, TIMER_A, (F_CPU / F_INTERRUPTS) -1);\r
+ IntEnable(INT_TIMER1A);\r
+ TimerIntEnable(TIMER1_BASE, TIMER_TIMA_TIMEOUT);\r
+ TimerEnable(TIMER1_BASE, TIMER_A);\r
+ // Important: Timer1IntHandler has to be configured in startup_ccs.c !\r
+}\r
+\r
+void\r
+Timer1IntHandler(void) // Timer1 Interrupt Handler\r
+{\r
+ (void) irmp_ISR(); // call irmp ISR\r
+ // call other timer interrupt routines...\r
+}\r
+\r
+int\r
+main (void)\r
+{\r
+ IRMP_DATA irmp_data;\r
+\r
+ ROM_FPUEnable();\r
+ ROM_FPUStackingEnable();\r
+ ROM_SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN);\r
+\r
+ irmp_init(); // initialize irmp\r
+ timer1_init(); // initialize timer1\r
+ sei (); // enable interrupts\r
+\r
+ for (;;)\r
+ {\r
+ if (irmp_get_data (&irmp_data))\r
+ {\r
+ // ir signal decoded, do something here...\r
+ // irmp_data.protocol is the protocol, see irmp.h\r
+ // irmp_data.address is the address/manufacturer code of ir sender\r
+ // irmp_data.command is the command code\r
+ // irmp_protocol_names[irmp_data.protocol] is the protocol name (if enabled, see irmpconfig.h)\r
+ }\r
+ }\r
+}\r
--- /dev/null
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * irmp-main-stm32.c - demo main module to test IRMP decoder on STM32\r
+ *\r
+ * Copyright (c) 2009-2015 Frank Meyer - frank(at)fli4l.de\r
+ *\r
+ * $Id: irmp-main-stm32.c,v 1.1 2016/01/12 11:55:05 fm Exp $\r
+ *\r
+ * This demo module is runnable on STM32\r
+ *\r
+ * This program is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+\r
+#include "irmp.h"\r
+\r
+#ifndef F_CPU\r
+#error F_CPU unknown\r
+#endif\r
+\r
+uint32_t\r
+SysCtlClockGet(void)\r
+{\r
+ RCC_ClocksTypeDef RCC_ClocksStatus;\r
+ RCC_GetClocksFreq(&RCC_ClocksStatus);\r
+ return RCC_ClocksStatus.SYSCLK_Frequency;\r
+}\r
+\r
+void\r
+timer2_init (void)\r
+{\r
+ TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;\r
+ NVIC_InitTypeDef NVIC_InitStructure;\r
+ RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE);\r
+\r
+ TIM_TimeBaseStructure.TIM_ClockDivision = TIM_CKD_DIV1;\r
+ TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up;\r
+ TIM_TimeBaseStructure.TIM_Period = 7;\r
+ TIM_TimeBaseStructure.TIM_Prescaler = ((F_CPU / F_INTERRUPTS)/8) - 1;\r
+ TIM_TimeBaseInit(TIM2, &TIM_TimeBaseStructure);\r
+\r
+ TIM_ITConfig(TIM2, TIM_IT_Update, ENABLE);\r
+\r
+ NVIC_InitStructure.NVIC_IRQChannel = TIM2_IRQn;\r
+ NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;\r
+ NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0F;\r
+ NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0x0F;\r
+ NVIC_Init(&NVIC_InitStructure);\r
+\r
+ TIM_Cmd(TIM2, ENABLE);\r
+}\r
+\r
+void\r
+TIM2_IRQHandler(void) // Timer2 Interrupt Handler\r
+{\r
+ TIM_ClearITPendingBit(TIM2, TIM_IT_Update);\r
+ (void) irmp_ISR(); // call irmp ISR\r
+ // call other timer interrupt routines...\r
+}\r
+\r
+int\r
+main (void)\r
+{\r
+ IRMP_DATA irmp_data;\r
+ \r
+ irmp_init(); // initialize irmp\r
+ timer2_init(); // initialize timer2\r
+\r
+ for (;;)\r
+ {\r
+ if (irmp_get_data (&irmp_data))\r
+ {\r
+ // ir signal decoded, do something here...\r
+ // irmp_data.protocol is the protocol, see irmp.h\r
+ // irmp_data.address is the address/manufacturer code of ir sender\r
+ // irmp_data.command is the command code\r
+ // irmp_protocol_names[irmp_data.protocol] is the protocol name (if enabled, see irmpconfig.h)\r
+ }\r
+ }\r
+}\r
-<AVRStudio><MANAGEMENT><ProjectName>irmp</ProjectName><Created>07-Jan-2010 20:23:49</Created><LastEdit>01-Jul-2014 11:23:52</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>07-Jan-2010 20:23:49</Created><Version>4</Version><Build>4, 18, 0, 670</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>default\irmp.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\avr\irmp\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET>AVR Simulator</CURRENT_TARGET><CURRENT_PART>ATmega88.xml</CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM>Auto</COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>main.c</SOURCEFILE><SOURCEFILE>irmp.c</SOURCEFILE><HEADERFILE>irmp.h</HEADERFILE><HEADERFILE>irmpconfig.h</HEADERFILE><HEADERFILE>irmpprotocols.h</HEADERFILE><HEADERFILE>irmpsystem.h</HEADERFILE><OTHERFILE>default\irmp.lss</OTHERFILE><OTHERFILE>default\irmp.map</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>NO</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE></EXTERNALMAKEFILE><PART>atmega88</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>irmp.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>0</ISDIRTY><OPTIONS><OPTION><FILE>irmp.c</FILE><OPTIONLIST></OPTIONLIST></OPTION><OPTION><FILE>main.c</FILE><OPTIONLIST></OPTIONLIST></OPTION></OPTIONS><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS>-Os</LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR\avr-gcc-4.7.2\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR\avr-gcc-4.7.2\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><IOView><usergroups/><sort sorted="0" column="0" ordername="1" orderaddress="1" ordergroup="1"/></IOView><Files><File00000><FileId>00000</FileId><FileName>main.c</FileName><Status>1</Status></File00000><File00001><FileId>00001</FileId><FileName>irmp.c</FileName><Status>1</Status></File00001><File00002><FileId>00002</FileId><FileName>irmp.h</FileName><Status>1</Status></File00002><File00003><FileId>00003</FileId><FileName>irmpconfig.h</FileName><Status>1</Status></File00003><File00004><FileId>00004</FileId><FileName>irmpsystem.h</FileName><Status>1</Status></File00004><File00005><FileId>00005</FileId><FileName>irmpprotocols.h</FileName><Status>1</Status></File00005></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>\r
+<AVRStudio><MANAGEMENT><ProjectName>irmp</ProjectName><Created>07-Jan-2010 20:23:49</Created><LastEdit>12-Jan-2016 12:59:26</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>07-Jan-2010 20:23:49</Created><Version>4</Version><Build>4, 18, 0, 670</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>default\irmp.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\avr\irmp\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET>AVR Simulator</CURRENT_TARGET><CURRENT_PART>ATmega88.xml</CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM>Auto</COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>irmp.c</SOURCEFILE><SOURCEFILE>irmp-main-avr.c</SOURCEFILE><HEADERFILE>irmp.h</HEADERFILE><HEADERFILE>irmpconfig.h</HEADERFILE><HEADERFILE>irmpprotocols.h</HEADERFILE><HEADERFILE>irmpsystem.h</HEADERFILE><OTHERFILE>default\irmp.lss</OTHERFILE><OTHERFILE>default\irmp.map</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>NO</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE></EXTERNALMAKEFILE><PART>atmega88</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>irmp.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>1</ISDIRTY><OPTIONS><OPTION><FILE>irmp.c</FILE><OPTIONLIST></OPTIONLIST></OPTION><OPTION><FILE>main.c</FILE><OPTIONLIST></OPTIONLIST></OPTION></OPTIONS><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS>-Os</LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR\avr-gcc-4.7.2\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR\avr-gcc-4.7.2\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><IOView><usergroups/><sort sorted="0" column="0" ordername="0" orderaddress="0" ordergroup="0"/></IOView><Files><File00000><FileId>00000</FileId><FileName>irmp.c</FileName><Status>1</Status></File00000><File00001><FileId>00001</FileId><FileName>irmp.h</FileName><Status>1</Status></File00001><File00002><FileId>00002</FileId><FileName>irmpconfig.h</FileName><Status>1</Status></File00002><File00003><FileId>00003</FileId><FileName>irmpsystem.h</FileName><Status>1</Status></File00003><File00004><FileId>00004</FileId><FileName>irmpprotocols.h</FileName><Status>1</Status></File00004></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>\r
*\r
* Copyright (c) 2009-2015 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmp.c,v 1.183 2015/12/03 18:13:45 fm Exp $\r
+ * $Id: irmp.c,v 1.184 2016/01/12 11:53:34 fm Exp $\r
*\r
* Supported AVR mikrocontrollers:\r
*\r
// Oversampling\r
USART_OverSampling8Cmd(STM32_UART_COM, ENABLE);\r
\r
- // init mit Baudrate, 8Databits, 1Stopbit, keine Parität, kein RTS+CTS\r
+ // init baud rate, 8 data bits, 1 stop bit, no parity, no RTS+CTS\r
USART_InitStructure.USART_BaudRate = STM32_UART_BAUD;\r
USART_InitStructure.USART_WordLength = USART_WordLength_8b;\r
USART_InitStructure.USART_StopBits = USART_StopBits_1;\r
// Oversampling\r
USART_OverSampling8Cmd(STM32_UART_COM, ENABLE);\r
\r
- // init mit Baudrate, 8Databits, 1Stopbit, keine Parität, kein RTS+CTS\r
+ // init baud rate, 8 data bits, 1 stop bit, no parity, no RTS+CTS\r
USART_InitStructure.USART_BaudRate = 115200;\r
USART_InitStructure.USART_WordLength = USART_WordLength_8b;\r
USART_InitStructure.USART_StopBits = USART_StopBits_1;\r
\r
USARTC1.BAUDCTRLB = 0;\r
USARTC1.BAUDCTRLA = F_CPU / 153600 - 1;\r
- USARTC1.CTRLA = USART_RXCINTLVL_HI_gc; // High Level (Empfangen)\r
- USARTC1.CTRLB = USART_TXEN_bm | USART_RXEN_bm; //Aktiviert Senden und Empfangen\r
- USARTC1.CTRLC = USART_CHSIZE_8BIT_gc; //Größe der Zeichen: 8 Bit\r
- PORTC.DIR |= (1<<7); //TXD als Ausgang setzen\r
+ USARTC1.CTRLA = USART_RXCINTLVL_HI_gc; // high INT level (receive)\r
+ USARTC1.CTRLB = USART_TXEN_bm | USART_RXEN_bm; // activated RX and TX\r
+ USARTC1.CTRLC = USART_CHSIZE_8BIT_gc; // 8 Bit\r
+ PORTC.DIR |= (1<<7); // TXD is output\r
PORTC.DIR &= ~(1<<6);\r
\r
#else\r
static IRMP_PARAMETER irmp_param2;\r
#endif\r
\r
-static volatile uint_fast8_t irmp_ir_detected = FALSE;\r
-static volatile uint_fast8_t irmp_protocol;\r
-static volatile uint_fast16_t irmp_address;\r
-static volatile uint_fast16_t irmp_command;\r
-static volatile uint_fast16_t irmp_id; // only used for SAMSUNG protocol\r
-static volatile uint_fast8_t irmp_flags;\r
-// static volatile uint_fast8_t irmp_busy_flag;\r
+static volatile uint_fast8_t irmp_ir_detected = FALSE;\r
+static volatile uint_fast8_t irmp_protocol;\r
+static volatile uint_fast16_t irmp_address;\r
+static volatile uint_fast16_t irmp_command;\r
+static volatile uint_fast16_t irmp_id; // only used for SAMSUNG protocol\r
+static volatile uint_fast8_t irmp_flags;\r
+// static volatile uint_fast8_t irmp_busy_flag;\r
+\r
+#if defined(__MBED__)\r
+// DigitalIn inputPin(IRMP_PIN, PullUp); // this requires mbed.h and source to be compiled as cpp\r
+gpio_t gpioIRin; // use low level c function instead\r
+#endif\r
+\r
\r
#ifdef ANALYZE\r
-#define input(x) (x)\r
-static uint_fast8_t IRMP_PIN;\r
-static uint_fast8_t radio;\r
+#define input(x) (x)\r
+static uint_fast8_t IRMP_PIN;\r
+static uint_fast8_t radio;\r
#endif\r
\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
#elif defined (TEENSY_ARM_CORTEX_M4) // TEENSY\r
pinMode(IRMP_PIN, INPUT);\r
\r
+#elif defined(__xtensa__) // ESP8266\r
+ // select pin function\r
+# if (IRMP_BIT_NUMBER == 12)\r
+ PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDI_U, FUNC_GPIO12);\r
+// doesn't work for me:\r
+// # elif (IRMP_BIT_NUMBER == 13)\r
+// PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTCK_U , FUNC_GPIO13);\r
+# else\r
+# warning Please add PIN_FUNC_SELECT when necessary.\r
+# endif\r
+ GPIO_DIS_OUTPUT(IRMP_BIT_NUMBER);\r
+\r
+#elif defined(__MBED__)\r
+ gpio_init_in_ex(&gpioIRin, IRMP_PIN, IRMP_PINMODE); // initialize input for IR diode\r
+\r
#else // AVR\r
IRMP_PORT &= ~(1<<IRMP_BIT); // deactivate pullup\r
IRMP_DDR &= ~(1<<IRMP_BIT); // set pin to input\r
\r
#if defined(__SDCC_stm8)\r
irmp_input = input(IRMP_GPIO_STRUCT->IDR)\r
+#elif defined(__MBED__)\r
+ //irmp_input = inputPin;\r
+ irmp_input = gpio_read (&gpioIRin);\r
#else\r
irmp_input = input(IRMP_PIN);\r
#endif\r
{\r
static uint8_t key_table[128] =\r
{\r
- // 0 1 2 3 4 5 6 7 8 9 A B C D E F\r
- 0, '^', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 'ß', '´', 0, '\b',\r
- '\t','q', 'w', 'e', 'r', 't', 'z', 'u', 'i', 'o', 'p', 'ü', '+', 0, 0, 'a',\r
- 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'ö', 'ä', '#', '\r', 0, '<', 'y', 'x',\r
- 'c', 'v', 'b', 'n', 'm', ',', '.', '-', 0, 0, 0, 0, 0, ' ', 0, 0,\r
-\r
- 0, '°', '!', '"', '§', '$', '%', '&', '/', '(', ')', '=', '?', '`', 0, '\b',\r
- '\t','Q', 'W', 'E', 'R', 'T', 'Z', 'U', 'I', 'O', 'P', 'Ü', '*', 0, 0, 'A',\r
- 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Ö', 'Ä', '\'','\r', 0, '>', 'Y', 'X',\r
- 'C', 'V', 'B', 'N', 'M', ';', ':', '_', 0, 0, 0, 0, 0, ' ', 0, 0\r
+ // 0 1 2 3 4 5 6 7 8 9 A B C D E F\r
+ 0, '^', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 0xDF, '´', 0, '\b',\r
+ '\t', 'q', 'w', 'e', 'r', 't', 'z', 'u', 'i', 'o', 'p', 0xFC, '+', 0, 0, 'a',\r
+ 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 0xF6, 0xE4, '#', '\r', 0, '<', 'y', 'x',\r
+ 'c', 'v', 'b', 'n', 'm', ',', '.', '-', 0, 0, 0, 0, 0, ' ', 0, 0,\r
+\r
+ 0, '°', '!', '"', '§', '$', '%', '&', '/', '(', ')', '=', '?', '`', 0, '\b',\r
+ '\t', 'Q', 'W', 'E', 'R', 'T', 'Z', 'U', 'I', 'O', 'P', 0xDC, '*', 0, 0, 'A',\r
+ 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 0xD6, 0xC4, '\'', '\r', 0, '>', 'Y', 'X',\r
+ 'C', 'V', 'B', 'N', 'M', ';', ':', '_', 0, 0, 0, 0, 0, ' ', 0, 0\r
};\r
static uint_fast8_t state;\r
\r
* Copyright (c) 2009-2015 Frank Meyer - frank(at)fli4l.de\r
* Extensions for PIC 12F1820 W.Strobl 2014-07-20\r
*\r
- * $Id: irmpconfig.h,v 1.145 2015/11/18 08:27:50 fm Exp $\r
+ * $Id: irmpconfig.h,v 1.146 2016/01/12 11:53:34 fm Exp $\r
*\r
* This program is free software; you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
#elif defined (TEENSY_ARM_CORTEX_M4)\r
# define IRMP_PIN 1 // use Digital pin 1 as IR input on Teensy\r
\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * Change hardware pin here for MBED\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#elif defined(__MBED__)\r
+# define IRMP_PIN P0_22 // use P1_27 on LPC1347\r
+# define IRMP_PINMODE PullUp // hardware dependent\r
+\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* Handling of unknown target system: DON'T CHANGE\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r
*\r
* Copyright (c) 2009-2015 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmpsystem.h,v 1.21 2015/11/18 08:27:50 fm Exp $\r
+ * $Id: irmpsystem.h,v 1.22 2016/01/12 11:53:34 fm Exp $\r
*\r
* This program is free software; you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
# define TEENSY_ARM_CORTEX_M4\r
#elif defined(unix) || defined(WIN32) || defined(__APPLE__) // Unix/Linux or Windows or Apple\r
# define UNIX_OR_WINDOWS\r
+#elif defined(__MBED__) // mbed platform\r
+// #include "mbed.h" // if mbed.h is used, source must be compiled as cpp\r
+#include "gpio_api.h"\r
#else\r
# define ATMEL_AVR // ATMEL AVR\r
#endif\r
# define PROGMEM\r
# define memcpy_P memcpy\r
\r
+#elif defined(__MBED__)\r
+# define PROGMEM\r
+# define memcpy_P memcpy\r
+\r
#else\r
# define PROGMEM\r
# define memcpy_P memcpy\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* irsndmain.c - demo main module to test IRSND encoder on AVRs\r
*\r
- * Copyright (c) 2010-2015 Frank Meyer - frank(at)fli4l.de\r
+ * Copyright (c) 2010-2016 Frank Meyer - frank(at)fli4l.de\r
*\r
* ATMEGA88 @ 8 MHz internal RC Osc with BODLEVEL 4.3V: lfuse: 0xE2 hfuse: 0xDC efuse: 0xF9\r
* ATMEGA88 @ 8 MHz external Crystal Osc with BODLEVEL 4.3V: lfuse: 0xFF hfuse: 0xDC efuse: 0xF9\r
-<AVRStudio><MANAGEMENT><ProjectName>irsnd</ProjectName><Created>07-Jan-2010 20:23:49</Created><LastEdit>26-Oct-2012 10:20:26</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>07-Jan-2010 20:23:49</Created><Version>4</Version><Build>4, 18, 0, 670</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>default\irsnd.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\avr\irmp\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET>AVR Simulator</CURRENT_TARGET><CURRENT_PART>ATmega88.xml</CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM>Auto</COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>irsndmain.c</SOURCEFILE><SOURCEFILE>irsnd.c</SOURCEFILE><HEADERFILE>irsnd.h</HEADERFILE><HEADERFILE>irsndconfig.h</HEADERFILE><HEADERFILE>irmpprotocols.h</HEADERFILE><HEADERFILE>irmpsystem.h</HEADERFILE><OTHERFILE>default\irsnd.lss</OTHERFILE><OTHERFILE>default\irsnd.map</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>NO</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE></EXTERNALMAKEFILE><PART>atmega88</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>irsnd.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>1</ISDIRTY><OPTIONS><OPTION><FILE>irsnd.c</FILE><OPTIONLIST></OPTIONLIST></OPTION><OPTION><FILE>irsndmain.c</FILE><OPTIONLIST></OPTIONLIST></OPTION></OPTIONS><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS></LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR\avr-gcc-4.7.2\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR\avr-gcc-4.7.2\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><IOView><usergroups/><sort sorted="0" column="0" ordername="0" orderaddress="0" ordergroup="0"/></IOView><Files><File00000><FileId>00000</FileId><FileName>irsndmain.c</FileName><Status>1</Status></File00000><File00001><FileId>00001</FileId><FileName>irsnd.c</FileName><Status>1</Status></File00001><File00002><FileId>00002</FileId><FileName>irsnd.h</FileName><Status>1</Status></File00002><File00003><FileId>00003</FileId><FileName>irsndconfig.h</FileName><Status>1</Status></File00003><File00004><FileId>00004</FileId><FileName>irmpprotocols.h</FileName><Status>1</Status></File00004><File00005><FileId>00005</FileId><FileName>irmpsystem.h</FileName><Status>1</Status></File00005></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>\r
+<AVRStudio><MANAGEMENT><ProjectName>irsnd</ProjectName><Created>07-Jan-2010 20:23:49</Created><LastEdit>12-Jan-2016 13:01:29</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>07-Jan-2010 20:23:49</Created><Version>4</Version><Build>4, 18, 0, 670</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>default\irsnd.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\avr\irmp\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET>AVR Simulator</CURRENT_TARGET><CURRENT_PART>ATmega88.xml</CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM>Auto</COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>irsnd.c</SOURCEFILE><SOURCEFILE>irsnd-main-avr.c</SOURCEFILE><HEADERFILE>irsnd.h</HEADERFILE><HEADERFILE>irsndconfig.h</HEADERFILE><HEADERFILE>irmpprotocols.h</HEADERFILE><HEADERFILE>irmpsystem.h</HEADERFILE><OTHERFILE>default\irsnd.lss</OTHERFILE><OTHERFILE>default\irsnd.map</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>NO</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE></EXTERNALMAKEFILE><PART>atmega88</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>irsnd.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>1</ISDIRTY><OPTIONS><OPTION><FILE>irsnd.c</FILE><OPTIONLIST></OPTIONLIST></OPTION><OPTION><FILE>irsndmain.c</FILE><OPTIONLIST></OPTIONLIST></OPTION></OPTIONS><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS></LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR\avr-gcc-4.7.2\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR\avr-gcc-4.7.2\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><IOView><usergroups/><sort sorted="0" column="0" ordername="1" orderaddress="1" ordergroup="1"/></IOView><Files><File00000><FileId>00000</FileId><FileName>irsnd.c</FileName><Status>1</Status></File00000><File00001><FileId>00001</FileId><FileName>irsnd.h</FileName><Status>1</Status></File00001><File00002><FileId>00002</FileId><FileName>irsndconfig.h</FileName><Status>1</Status></File00002><File00003><FileId>00003</FileId><FileName>irmpprotocols.h</FileName><Status>1</Status></File00003><File00004><FileId>00004</FileId><FileName>irmpsystem.h</FileName><Status>1</Status></File00004></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>\r