aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_analog.c
AgeCommit message (Collapse)Author
2012-04-19bugfix for boards with a timer 4 but no channel DZach Eveland
compilation failed for Mega because the COM4D1 and OCR4D registers are defined for 32U4 but not for Mega
2012-03-03Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloaderZach Eveland
Conflicts: .gitignore
2012-03-02Small changes for the ATmega1284.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=736
2011-12-18fixed digitalWrite on timer 4 pins (D6 and D13)Zach Eveland
2011-12-11fixed TIMER4 use on LeonardoZach Eveland
ATMEGA32U4 has major differences in TIMER4 registers compared to ATMEGA1280 and 2560. turnOffPWM, analogWrite, and initialize routines had wrong registers, bit names, etc.
2011-11-16Fixed handling of Ax constants on LeonardoZach Eveland
Fixed mistake in assignment and handling of A6-A11 constants. Renumbered constants for all Ax channels.
2011-09-16added support for TIMER4D used for PWM on Leonardo and Micro D6Zach Eveland
2011-09-13fixed analog pin mapping for 32u4Zach Eveland
2011-02-18Revert "Adding noAnalogWrite() function to disable PWM."David A. Mellis
This reverts commit 38d4a34fec6925b29a732d13e200f54ee4b42025.
2011-02-12Adding noAnalogWrite() function to disable PWM.David A. Mellis
Also, removing the inline version of digitalPinToTimer() (since we're not optimizing the functions that use it anyway). The noAnalogWrite() function is in wiring_analog.c, deriving from the previous turnOffPWM() which has moved from wiring_digital.c. http://code.google.com/p/arduino/issues/detail?id=476
2010-10-17Modifying basic functions (digital and analog, read and write) to use ↵David A. Mellis
register-based ifdefs, not cpu-based. http://code.google.com/p/arduino/issues/detail?id=307 http://code.google.com/p/arduino/issues/detail?id=316 http://code.google.com/p/arduino/issues/detail?id=323 http://code.google.com/p/arduino/issues/detail?id=324
2010-09-081280 -> 1280/2560.David A. Mellis
2010-05-16Adding A0=14, A1=15, etc. aliases for analog input pins and modifying ↵David A. Mellis
analogRead() to accept them (in addition to 0, 1, 2, etc.). Removing some unused code elsewhere.
2009-11-21Improving third-party hardware support:David A. Mellis
- moving back to multple cores per platform - using target instead of platform - moving per-board and per-programmer preferences out of Preferences.java and into a new Target class - adding a new "target" preference - support for platform:value values in board preferences for bootloader path and core - XXX: need to support platform:value syntax for board upload.using preferences.
2009-11-07Moving things around.David A. Mellis
2009-08-23Undoing revision 628 because it broke analogRead() on analog inputs 8 to 15 ↵David A. Mellis
of the Arduino Mega.
2009-06-15Changing analog read channel mask from 0x07 to 0x0f to allow for reading of ↵David A. Mellis
the temperature and other extended channels.
2009-06-01First integration of the Arduino code in Processing 5503: PreProcessor and ↵David A. Mellis
Compiler have been integrated with changes to the Sketch. Compilation still has problems (Thread error on success, and can't handle non-pde files in a sketch). Modified the Mac OS X make.sh to copy the hardware, avr tools, and example over. Removing some of the antlr stuff. Disabling the Commander (command-line execution) for now. Added Library, LibraryManager, and Target. Added support for prefixed preferences (e.g. for boards and programmers).