aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring.c
AgeCommit message (Collapse)Author
2015-05-22zero delay fix, ADC prescaler fixCano
2015-05-22delayMicroseconds(): added support for 1Mhz, 12Mhz and 24MhzCano
1Mhz is a default clock speed on Atmega328, many users run it on the internal 1Mhz clock to save battery power. Up until now delayMicroseconds() function wasn't taking this frequencies into an account.
2013-04-03Merged 1.0.5Cristian Maglie
Merge remote-tracking branch 'arduino/master' into ide-1.5.x Conflicts: app/src/processing/app/Base.java build/shared/revisions.txt hardware/arduino/avr/cores/arduino/malloc.c hardware/arduino/cores/arduino/avr-libc/malloc.c hardware/arduino/cores/arduino/malloc.c todo.txt
2013-03-29Removed deprecated interrupt handlersCristian Maglie
Fixes #831 #881 #955 #1123 #1140
2012-11-02Added general yield()-hook for cooperative scheduling development (part 2)Cristian Maglie
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.
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-12-02Fixing delayMicroseconds() timing for 20 MHz clocks. (Erdem U. Altinyurt)David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=306
2011-10-21Lowering timer 1 prescale factor (to 8 from 64) for F_CPU less than 8 MHz.David A. Mellis
Otherwise, you can see flicker on an LED.
2011-09-30Using alternate timer 0 overflow interrupt signal name for ATtiny24/44/84.David A. Mellis
2011-03-06Moving TCCR1B reset into #ifdef check.David A. Mellis
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-10-02Fixing PWM on pins 9 & 10 on the Uno.David A. Mellis
Resetting TCCR1B to 0 after it's configured by optiboot. http://code.google.com/p/arduino/issues/detail?id=364
2010-09-081280 -> 1280/2560.David A. Mellis
2010-05-25More accurate delay() function from BenF.David A. Mellis
2009-12-18Fixing bug in calling micros() from interrupts: ↵David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=55
2009-12-18No longer disabling interrupts in delayMicroseconds(): ↵David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=67
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-05-12Optimizing the timer0 overflow handler (for millis()), based on work by ↵David A. Mellis
WestFW and help from mikalhart. Increasing precision of math constants.
2009-03-25Adding support for the Arduino Mega (ATmega1280) to the core and bootloader.David A. Mellis
2008-12-23Fixing delay() to delay at least N milliseconds.David A. Mellis
Fixing register name in micros() for ATmega8.
2008-11-26Adding micros() function.David A. Mellis
2008-11-08Switching to new signal (interrupt handler) names for compatibility with the ↵David A. Mellis
ATmega328.
2008-11-01Switching tests for __AVR_ATmega168__ to tests for __AVR_ATmega8__ so that ↵David A. Mellis
less changes are needed to support other processors.
2008-07-02Adding ADXL3xx accelerometer example; minor comment changes.David A. Mellis
2008-04-18Fixing millis() overflow: changing millis() and the timer 0 overflow handler ↵David A. Mellis
so that the millis count is updated in the interrupt, and so we don't need to do a conversion inside millis(). Updated to do list.
2008-03-08Adding to the todo list and readme; fixing a bit of indentation.David A. Mellis
2007-12-14Adding analogReference() function - needs testing on an ATmega8 (but works ↵David A. Mellis
on the ATmega 168).
2007-10-06Moving hardware/targets to hardware/cores.David A. Mellis