Cristian Maglie
2659e41c00
Extended digital_pin_to_timer_PGM array in variants/leonardo/pins_arduino.h to include analog pins ( fixed #1129 )
2012-11-25 15:46:34 +01:00
David A. Mellis
1a0f22225b
Moving ATmega32U4 Timer 2 #undef's to Leonardo pins_arduino.h file.
2012-09-13 09:19:52 -04:00
David A. Mellis
3e68702149
Updating SoftwareSerial pin mapping (pin change interrupts) for Leonardo.
2012-05-20 15:56:49 -07:00
Zach Eveland
e346d868b9
added pin change interrupt defines for Leonardo. fix for broken software serial on Leonardo
2012-05-19 22:05:46 -04:00
Zach Eveland
ec83f55b62
sketch USB VID and PID values are passed in from boards.txt at compile time now. changed sketch PIDs to final values. also uncommented Micro section in boards.txt
2012-04-09 08:06:35 -04:00
Zach Eveland
ac3aca0acf
changed Leonardo bootloader and sketch PID values again (now 0x0701 for bootloader, 0x0801 for sketch)
2012-02-13 00:10:16 -05:00
Zach Eveland
35bbf80ba9
adjusting descriptors - trying to prevent sketch and bootloader from grabbing different COM numbers on Windows
2012-02-08 01:16:56 -05:00
Zach Eveland
989f672d34
Merge branch 'master' of github.com:arduino/Arduino into new-extension
2012-01-10 12:02:27 -05:00
David A. Mellis
3f429a9c61
Fixing static is not at beginning of declaration warnings (maniacbug).
2012-01-02 12:38:23 -05:00
Zach Eveland
c58fcf5554
fixed TIMER4 use on Leonardo
...
ATMEGA32U4 has major differences in TIMER4 registers compared to ATMEGA1280 and 2560. turnOffPWM, analogWrite, and initialize routines had wrong registers, bit names, etc.
2011-12-11 19:56:50 -05:00
Zach Eveland
ed336f1b68
Fixed size of const array mapping digital pin number to bit mask.
2011-11-16 12:15:57 -05:00
Zach Eveland
21a81fba93
Updated digital pin and port mapping constants in pins_arduino.h for Leonardo.
...
Changed digital_pin_to_port_PGM[] and digital_pin_to_bit_mask_PGM[] to reflect changes to constants for SPI and analog pins
2011-11-16 11:20:38 -05:00
Zach Eveland
8dffa6755b
Swapped Dx assignment for MISO and SS to make numbering more sane (Dave Mellis). Also updated comments on pin numbers.
2011-11-16 11:00:21 -05:00
Zach Eveland
3c60b1e54f
Fixed handling of Ax constants on Leonardo
...
Fixed mistake in assignment and handling of A6-A11 constants. Renumbered constants for all Ax channels.
2011-11-16 10:49:41 -05:00
Zach Eveland
768670f3b3
updated pins_arduino.h for Leonardo to reflect final mapping of A6-A11
2011-11-15 09:48:09 -05:00
Zach Eveland
bca358b973
updated analog pin assignments and declared TWI/I2C pins
...
Fixed analog pin to ADC channel mapping to match new scheme. Changed mapping of analog pins to digital channels so that A6-A11 point back to the correct digital pins. Declared SDA and SCL pins.
(All from Federico Vanzati's comments)
2011-11-08 22:06:15 -05:00
Zach Eveland
4ea7fc9ef3
added 12th ADC channel for Leonardo. cleaned up and corrected comments for pin functions.
2011-11-02 07:37:39 -04:00
Zach Eveland
712af69e8f
updated pin assignment again based on design files for Leonardo
2011-09-16 16:12:39 -04:00
Zach Eveland
29a707a06b
updated pin mappings for bootloader and pins_arduino.h in anticipation of final hardware.
2011-09-16 15:46:51 -04:00
Zach Eveland
8e0f035c9b
added automatic one-shot TX and RX LED control for sketch USB
2011-09-16 14:32:25 -04:00
Zach Eveland
d0b0f3e45d
fixed analog pin mapping for 32u4
2011-09-13 23:52:26 -04:00
Zach Eveland
63ec4aba22
added compile-time definition of sketch PID. PID is pulled from variants/leonardo or the new variants/micro as appropriate.
2011-09-08 15:52:05 -04:00
Zach Eveland
351a78e01e
brought leonardo folder in line with new variants scheme
2011-08-30 10:45:41 -04:00