aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring.h
AgeCommit message (Collapse)Author
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
2011-02-11Changes to optimized digitalWrte(), etc.David A. Mellis
Factoring out the implementation of digitalWrite(), digitalRead(), and pinMode() into macros that can either be inlined (for constant pin numbers) or executed within a function (non-constant pins). Removing testing for timers on pins in digitalWrite(), digitalRead(), and pinMode(). Moving pin to port macros from pins_arduino.h to wiring.h.
2011-02-11Optimized digitalWrite(), etc. from Alvaro Lopez.David A. Mellis
2010-11-29Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea without all the extra files.David A. Mellis
Adds toInt() to String, WCharacter.h (from Wiring), and an SD Datalogger example.
2010-11-29Revert "added toInt() function to WString".David A. Mellis
This reverts commit 448222e4b65e0cf44dfc0c494f7f76901f1fabea.
2010-11-29added toInt() function to WStringTom Igoe
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-08-17Now including stdlib.h from wiring.h so our abs() #define comes after the ↵David A. Mellis
stdlib abs() definition (and therefore doesn't break it).
2010-08-11Adding shiftIn() from Wiring (no count or delaytime though).David A. Mellis
2010-07-10INTERNAL -> INTERNAL1V1 AND INTERNAL2V56 on the Mega (issue #194).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-10-23Passing the ARDUINO constant from the IDE to avr-gcc as a command line ↵David A. Mellis
argument (so I don't forget to update the version in the .h file).
2009-09-13Updating ARDUINO to 0018 (in wiring.h).David A. Mellis
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).