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
David A. Mellis
85d70c4314
Renaming LED to LED_BUILTIN.
...
http://code.google.com/p/arduino/issues/detail?id=651
2011-10-24 16:45:44 -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
David A. Mellis
f5a15cb62f
Distinguishing those boards with eight analog inputs (Fio, BT, Nano, Mini).
...
http://code.google.com/p/arduino/issues/detail?id=499
2011-08-23 17:29:20 -04:00
David A. Mellis
69d1826e45
Renaming pins/ directory to the more generic variants/
...
http://code.google.com/p/arduino/issues/detail?id=588
2011-08-23 17:07:39 -04:00