Commit Graph

38 Commits

Author SHA1 Message Date
Cristian Maglie 23b682417e Revert "Changed pins definition in variants from constants to #defines."
This reverts commit 7fcba37acfd11313640b3f5d5c813d63d2f59999.
2014-02-12 14:46:48 +01:00
Cristian Maglie a2cc9674ba Changed pins definition in variants from constants to #defines. 2013-12-13 14:37:26 +01:00
Cristian Maglie 3b51f9589f Fix SERIAL_* metadata in Arduino Ethernet variant 2013-11-11 13:54:50 +01:00
Cristian Maglie 2398409fbf Added SERIAL metadata into variant files. 2013-11-11 11:39:37 +01:00
Cristian Maglie 9d48a36616 Changed LED_BUILTIN to a macro to better support boards that do not have a built-in LED.
Fixes #758
2013-11-03 18:10:22 +01:00
Cristian Maglie 0e5e67e23d Added LED_BUILTIN constant to Leonardo board 2013-11-03 18:07:01 +01:00
Cristian Maglie 24dc51bfde Added Arduino Ethernet variant.
Fixes #925
2013-11-03 13:52:08 +01:00
Xun Yang aaaa2c3ab6 Fixed robot libraries and examples for unified Arduino core 2013-08-21 23:14:00 +02:00
Cristian Maglie 08afd2dd60 Added robot hardware 2013-05-13 19:50:59 +02:00
Cristian Maglie 0a40c64471 Leonardo pins_arduino.h fixes (jrcutler)
fixes #915
2012-11-30 15:14:16 +01:00
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 42ca56fb83 Adding Micro. 2012-10-27 14:12:26 -04: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 e2e0260094 Micro I hardly knew ye 2012-04-09 10:12:14 -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
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