diff --git a/cpg.c b/cpg.c index a7de6e8..e5dfcc6 100644 --- a/cpg.c +++ b/cpg.c @@ -89,7 +89,7 @@ const elite_instance_t cpg_elite_instance = { const elite_instance_t *cpg_init(void) { tw1805_init(); - tw1508_set(16, 256); + tw1508_set(0, 0); return &cpg_elite_instance; } diff --git a/cpg10_io.c b/cpg10_io.c index bdf61cb..5cd3119 100644 --- a/cpg10_io.c +++ b/cpg10_io.c @@ -11,14 +11,6 @@ void cpg10_io_init(void) { const uint32_t pel_pins_default_high[] = { - VA1H_PIN, - VA2H_PIN, - VA3H_PIN, - VA4H_PIN, - VB1H_PIN, - VB2H_PIN, - VB3H_PIN, - VB4H_PIN, LED_R_PIN, LED_G_PIN, LED_B_PIN @@ -36,13 +28,21 @@ void cpg10_io_init(void) TW_SDI_PIN, HV_EN_PIN, ADPT1_S1_PIN, + VA1H_PIN, VA1L_PIN, + VA2H_PIN, VA2L_PIN, + VA3H_PIN, VA3L_PIN, + VA4H_PIN, VA4L_PIN, + VB1H_PIN, VB1L_PIN, + VB2H_PIN, VB2L_PIN, + VB3H_PIN, VB3L_PIN, + VB4H_PIN, VB4L_PIN, ADPT1_S4_PIN, ADPT1_S3_PIN,