Преглед на файлове

Disable RGB led support until a suitable pin is located

TerryMathews преди 9 години
родител
ревизия
e71d4f3235
променени са 2 файла, в които са добавени 7 реда и са изтрити 4 реда
  1. 6 3
      keyboards/tada68/config.h
  2. 1 1
      keyboards/tada68/rules.mk

+ 6 - 3
keyboards/tada68/config.h

@@ -66,12 +66,15 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* Underlight configuration
 /* Underlight configuration
  */
  */
 
 
-#define RGB_DI_PIN F5
+/*#define RGB_DI_PIN E2
 #define RGBLIGHT_TIMER
 #define RGBLIGHT_TIMER
-#define RGBLED_NUM 4     // Number of LEDs
+#define RGBLED_NUM 2     // Number of LEDs
 #define RGBLIGHT_HUE_STEP 10
 #define RGBLIGHT_HUE_STEP 10
 #define RGBLIGHT_SAT_STEP 17
 #define RGBLIGHT_SAT_STEP 17
-#define RGBLIGHT_VAL_STEP 17
+#define RGBLIGHT_VAL_STEP 17*/
+//Disabled while I figure out a suitable pin for RGB support.
+//I've tried F5, D2, D3, and E2 but it's possible the end of my
+//strand is bad. New LEDs on order.
 
 
 /*
 /*
  * Feature disable options
  * Feature disable options

+ 1 - 1
keyboards/tada68/rules.mk

@@ -58,7 +58,7 @@ EXTRAKEY_ENABLE ?= yes	# Audio control and System control(+450)
 CONSOLE_ENABLE ?= yes	# Console for debug(+400)
 CONSOLE_ENABLE ?= yes	# Console for debug(+400)
 COMMAND_ENABLE ?= yes    # Commands for debug and configuration
 COMMAND_ENABLE ?= yes    # Commands for debug and configuration
 NKRO_ENABLE ?= yes		# USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
 NKRO_ENABLE ?= yes		# USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-RGBLIGHT_ENABLE ?= yes   # Enable keyboard underlight functionality (+4870)
+RGBLIGHT_ENABLE ?= no   # Enable keyboard underlight functionality (+4870)
 BACKLIGHT_ENABLE ?= yes  # Enable keyboard backlight functionality (+1150)
 BACKLIGHT_ENABLE ?= yes  # Enable keyboard backlight functionality (+1150)
 MIDI_ENABLE ?= no 		# MIDI controls
 MIDI_ENABLE ?= no 		# MIDI controls
 AUDIO_ENABLE ?= no
 AUDIO_ENABLE ?= no