aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_analog.c
AgeCommit message (Collapse)Author
2016-09-07Requested changes to not change code for non ATtinyX5sNiklas Mischkulnig
2016-08-27Add all analog references supported by the ATtinyX5 seriesNiklas Mischkulnig
2015-07-03Removed a handful of SVN expansion keywords. See #277Federico Fissore
2014-05-16Support TIMER1CMatthijs Kooijman
Some devices, such as the atmega2560 or the atmega256rfr2 have a timer1c output. It seems this output is not connected to anything on the Arduino Mega, but this allows using it on third party hardware nonetheless.
2013-07-31Merge branch 'issue1366' of github.com:Lauszus/Arduino into Lauszus-issue1366Cristian Maglie
2013-05-02Removed double instance of the same codeKristian Sloth Lauszus
2013-04-18Check if ATmega32u4 is definedKristian Sloth Lauszus
Needed in order to work with Arduino Leonardo
2013-04-18Removed call to analogPinToChannel for LeonardoKristian Sloth Lauszus
2013-04-17Use analogPinToChannel if it's definedKristian Sloth Lauszus
2013-04-04Added support for all variants of SanguinoKristian Sloth Lauszus
2013-03-06Use analogPinToChannel() macro if present for ATtiny25/45/85.David A. Mellis
This allows use of A0, A1, A2, A3 constants and for them to be mapped to the appropriate analog input channel. It should only be used if the macro is actually defined.
2012-10-09Adding ATmega644P check to ATmega1284P check.David A. Mellis
2012-04-19bugfix for configuring PWM on D6 and D13 too early. (thanks to Limor Fried)Zach Eveland
was starting PWM on these pins too soon - in init() instead of when analogWrite() was called. as a result doing output on port registers directly failed.
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).