David A. Mellis
aae9972a2b
Fixing delayMicroseconds() timing for 20 MHz clocks. (Erdem U. Altinyurt)
...
http://code.google.com/p/arduino/issues/detail?id=306
2011-12-02 17:04:20 -05:00
David A. Mellis
d3fa070d10
Lowering timer 1 prescale factor (to 8 from 64) for F_CPU less than 8 MHz.
...
Otherwise, you can see flicker on an LED.
2011-10-21 11:54:11 -04:00
David A. Mellis
e0c524b057
Using alternate timer 0 overflow interrupt signal name for ATtiny24/44/84.
2011-09-30 11:24:44 -04:00
David A. Mellis
bc416b14bd
Moving TCCR1B reset into #ifdef check.
2011-03-06 11:29:35 -05:00
David A. Mellis
a4afb42b08
Modifying basic functions (digital and analog, read and write) to use 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-17 17:55:53 -04:00
David A. Mellis
6106779cc1
Fixing PWM on pins 9 & 10 on the Uno.
...
Resetting TCCR1B to 0 after it's configured by optiboot.
http://code.google.com/p/arduino/issues/detail?id=364
2010-10-02 13:38:10 -04:00
David A. Mellis
f9a3b5cfa9
1280 -> 1280/2560.
2010-09-08 22:33:33 +00:00
David A. Mellis
67c0a1995a
More accurate delay() function from BenF.
2010-05-25 20:16:15 +00:00
David A. Mellis
7ea4cb39bd
Fixing bug in calling micros() from interrupts: http://code.google.com/p/arduino/issues/detail?id=55
2009-12-18 17:44:08 +00:00
David A. Mellis
78a3d76f6c
No longer disabling interrupts in delayMicroseconds(): http://code.google.com/p/arduino/issues/detail?id=67
2009-12-18 17:04:51 +00:00
David A. Mellis
35f5f6e99f
Improving third-party hardware support:
...
- 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-21 23:23:43 +00:00
David A. Mellis
584dece7b0
Moving things around.
2009-11-07 17:05:21 +00:00
David A. Mellis
888f15f2a6
Optimizing the timer0 overflow handler (for millis()), based on work by WestFW and help from mikalhart. Increasing precision of math constants.
2009-05-12 10:55:26 +00:00
David A. Mellis
a42326aba2
Adding support for the Arduino Mega (ATmega1280) to the core and bootloader.
2009-03-25 10:50:00 +00:00
David A. Mellis
7a5a603042
Fixing delay() to delay at least N milliseconds.
...
Fixing register name in micros() for ATmega8.
2008-12-23 00:17:14 +00:00
David A. Mellis
051eb371a6
Adding micros() function.
2008-11-26 14:14:59 +00:00
David A. Mellis
b2e063e13e
Switching to new signal (interrupt handler) names for compatibility with the ATmega328.
2008-11-08 21:31:55 +00:00
David A. Mellis
de4710abc8
Switching tests for __AVR_ATmega168__ to tests for __AVR_ATmega8__ so that less changes are needed to support other processors.
2008-11-01 22:06:13 +00:00
David A. Mellis
6bc00d87b8
Adding ADXL3xx accelerometer example; minor comment changes.
2008-07-02 19:06:27 +00:00
David A. Mellis
e8465fbb45
Fixing millis() overflow: changing millis() and the timer 0 overflow handler 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-04-18 21:56:14 +00:00
David A. Mellis
8d93bbebbd
Adding to the todo list and readme; fixing a bit of indentation.
2008-03-08 22:05:23 +00:00
David A. Mellis
92ba50c7b2
Adding analogReference() function - needs testing on an ATmega8 (but works on the ATmega 168).
2007-12-14 04:21:59 +00:00
David A. Mellis
5f3976696d
Moving hardware/targets to hardware/cores.
2007-10-06 14:47:50 +00:00