From be087d96dc1a00bddebb71b56d7b01a2555ddf14 Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Thu, 11 Aug 2011 14:16:13 -0400 Subject: cleaned up types. set D5 as not a PWM pin for now. --- pins/leonardo/pins_arduino.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/pins/leonardo/pins_arduino.h b/pins/leonardo/pins_arduino.h index 24489a4..79826f0 100644 --- a/pins/leonardo/pins_arduino.h +++ b/pins/leonardo/pins_arduino.h @@ -129,31 +129,31 @@ const static uint8_t A7 = 21; const uint16_t PROGMEM port_to_mode_PGM[] = { NOT_A_PORT, NOT_A_PORT, - &DDRB, - &DDRC, - &DDRD, - &DDRE, - &DDRF, + (uint16_t) &DDRB, + (uint16_t) &DDRC, + (uint16_t) &DDRD, + (uint16_t) &DDRE, + (uint16_t) &DDRF, }; const uint16_t PROGMEM port_to_output_PGM[] = { NOT_A_PORT, NOT_A_PORT, - &PORTB, - &PORTC, - &PORTD, - &PORTE, - &PORTF, + (uint16_t) &PORTB, + (uint16_t) &PORTC, + (uint16_t) &PORTD, + (uint16_t) &PORTE, + (uint16_t) &PORTF, }; const uint16_t PROGMEM port_to_input_PGM[] = { NOT_A_PORT, NOT_A_PORT, - &PINB, - &PINC, - &PIND, - &PINE, - &PINF, + (uint16_t) &PINB, + (uint16_t) &PINC, + (uint16_t) &PIND, + (uint16_t) &PINE, + (uint16_t) &PINF, }; const uint8_t PROGMEM digital_pin_to_port_PGM[18] = { @@ -210,8 +210,8 @@ const uint8_t PROGMEM digital_pin_to_timer_PGM[18] = { NOT_ON_TIMER, TIMER0B, NOT_ON_TIMER, - TIMER4D, - NOT_ON_TIMER, // TIMER4D_NOT TODO. Complementary output of TIMER4D on Digital Pin 6. Not sure this was intended. + NOT_ON_TIMER, // TIMER4D TODO - ZE - Fix this when there's a decision on what to do about these PWM pins + NOT_ON_TIMER, // TIMER4D_NOT TODO - ZE - Complementary output of TIMER4D on Digital Pin 6. Not sure this was intended. NOT_ON_TIMER, NOT_ON_TIMER, /* 8 port B */ -- cgit v1.2.3-18-g5258