mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
Adding to the todo list and readme; fixing a bit of indentation.
This commit is contained in:
parent
a50a2d888f
commit
ff9bb8dd14
@ -66,7 +66,7 @@ void delayMicroseconds(unsigned int us)
|
||||
//delay_us(us);
|
||||
|
||||
#if F_CPU >= 16000000L
|
||||
// for the 16 MHz clock on most Arduino boards
|
||||
// for the 16 MHz clock on most Arduino boards
|
||||
|
||||
// for a one-microsecond delay, simply return. the overhead
|
||||
// of the function call yields a delay of approximately 1 1/8 us.
|
||||
@ -81,11 +81,11 @@ void delayMicroseconds(unsigned int us)
|
||||
// account for the time taken in the preceeding commands.
|
||||
us -= 2;
|
||||
#else
|
||||
// for the 8 MHz internal clock on the ATmega168
|
||||
// for the 8 MHz internal clock on the ATmega168
|
||||
|
||||
// for a one- or two-microsecond delay, simply return. the overhead of
|
||||
// the function calls takes more than two microseconds. can't just
|
||||
// subtract two, since us is unsigned; we'd overflow.
|
||||
// for a one- or two-microsecond delay, simply return. the overhead of
|
||||
// the function calls takes more than two microseconds. can't just
|
||||
// subtract two, since us is unsigned; we'd overflow.
|
||||
if (--us == 0)
|
||||
return;
|
||||
if (--us == 0)
|
||||
@ -96,9 +96,9 @@ void delayMicroseconds(unsigned int us)
|
||||
// delay requested.
|
||||
us <<= 1;
|
||||
|
||||
// partially compensate for the time taken by the preceeding commands.
|
||||
// we can't subtract any more than this or we'd overflow w/ small delays.
|
||||
us--;
|
||||
// partially compensate for the time taken by the preceeding commands.
|
||||
// we can't subtract any more than this or we'd overflow w/ small delays.
|
||||
us--;
|
||||
#endif
|
||||
|
||||
// disable interrupts, otherwise the timer 0 overflow interrupt that
|
||||
|
@ -53,12 +53,14 @@ UPDATES
|
||||
* Added analogReference() function.
|
||||
* Added interrupts() and noInterrupts() functions.
|
||||
* Added degrees() and radians() functions.
|
||||
* Added timeout parameter (in microseconds) to pulseIn(); default is 1 second.
|
||||
* Support for uploading sketch using a programmer (upload.using preference).
|
||||
* Improved detection of functions that need prototyping.
|
||||
* Placing function prototypes after #include's and #define's.
|
||||
* No longer moving #include statements to the top of the sketch.
|
||||
* Including a working version of the Firmata firmware.
|
||||
* Can now drag .pde files onto the Arduino dock icon.
|
||||
* Can now drag .pde files onto the Arduino dock icon on Mac OS X.
|
||||
Thanks to Peter Sgouros.
|
||||
* New script for downloading the reference from Tom Pollard. Thanks Tom!
|
||||
* Miscellaneous Mac OS X and other patches from Wim Lewis. Thanks Wim!
|
||||
|
||||
|
8
todo.txt
8
todo.txt
@ -9,7 +9,10 @@ Improve preprocessing of sketches:
|
||||
- [done] Don't move #include statements.
|
||||
- [done] Better determine which functions need prototypes
|
||||
Update version of the FTDI drivers (Windows).
|
||||
Add timeout parameter to pulseIn().
|
||||
Move AVR ISP and giveio drivers elsewhere (Windows).
|
||||
Add #defines for the analog input pins.
|
||||
Deal with shorter screens (e.g. ASUS EEPC).
|
||||
[done] Add timeout parameter to pulseIn().
|
||||
[done] Update version of the FTDI drivers (Mac).
|
||||
[done] Allow disabling of serial flushing before upload (for the Arduino BT).
|
||||
[done] Modify parallel port programmer burning (add -F, lower or remove delay).
|
||||
@ -30,6 +33,8 @@ Incorporate ladyada's new SoftwareSerial library.
|
||||
Good way to receive multiple values / complex messages over the serial port.
|
||||
Floating point support in the map() function.
|
||||
Consider moving millis() to timer 1, and configuring it so the interrupt is generated once a millisecond.
|
||||
Fix millis() so it overflows on a nice variable-size boundary.
|
||||
Fix delayMicroseconds(0).
|
||||
Add sleep function(s).
|
||||
Add SPI library.
|
||||
Add pulseOut(), etc. functions from Wiring.
|
||||
@ -44,6 +49,7 @@ Include Arduino as AVR-ISP sketch in hardware/firmwares.
|
||||
|
||||
COMPUTER
|
||||
|
||||
Multiple sketch windows.
|
||||
Easier library discovery and installation.
|
||||
Easier board installation.
|
||||
Clean up Library and LibraryManager.
|
||||
|
Loading…
x
Reference in New Issue
Block a user