From 19c191e002775cd6b058ae356a9cc9a6eaf9dfe1 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Tue, 23 Dec 2008 00:21:03 +0000 Subject: [PATCH] Adding "Duemilanove" to the name of the Diecimila boards entry. Adding commented out ATmega328 boards entry. Updating todo and readme. --- hardware/boards.txt | 22 +++++++++++++++++++++- readme.txt | 20 +++++++++++++++++++- todo.txt | 40 +++++++++++++++++++--------------------- 3 files changed, 59 insertions(+), 23 deletions(-) diff --git a/hardware/boards.txt b/hardware/boards.txt index a5edba9db..c948b90d1 100644 --- a/hardware/boards.txt +++ b/hardware/boards.txt @@ -80,7 +80,7 @@ bt.build.core=arduino ############################################################## -diecimila.name=Arduino Diecimila +diecimila.name=Arduino Diecimila or Duemilanove diecimila.upload.protocol=stk500 diecimila.upload.maximum_size=14336 @@ -157,3 +157,23 @@ pro.bootloader.lock_bits=0x0F pro.build.mcu=atmega168 pro.build.f_cpu=8000000L pro.build.core=arduino + +############################################################## +# +#atmega328.name=Arduino w/ ATmega328 +# +#atmega328.upload.protocol=stk500 +#atmega328.upload.maximum_size=30720 +#atmega328.upload.speed=57600 +# +#atmega328.bootloader.low_fuses=0xFF +#atmega328.bootloader.high_fuses=0xDA +#atmega328.bootloader.extended_fuses=0x05 +#atmega328.bootloader.path=atmega168 +#atmega328.bootloader.file=ATmegaBOOT_168_atmega328.hex +#atmega328.bootloader.unlock_bits=0x3F +#atmega328.bootloader.lock_bits=0x0F +# +#atmega328.build.mcu=atmega328p +#atmega328.build.f_cpu=16000000L +#atmega328.build.core=arduino diff --git a/readme.txt b/readme.txt index 2a571ddf5..0e3abe9a9 100644 --- a/readme.txt +++ b/readme.txt @@ -48,14 +48,32 @@ UPDATES 0013 +[documentation / examples] +* Adding examples for Parallax Ping Sensor and Memsic 2125 accelerometer. + +[core / libraries] +* Adding support for printing floats to Print class (meaning that it works + in the Serial, Ethernet, and LiquidCrystal classes too). Includes two + decimal places. +* Added word, word(), bitRead(), bitWrite(), bitSet(), bitClear(), bit(), + lowByte(), and highByte(); see reference for details. * Working around problem that caused PWM output on pins 5 and 6 to never go to 0 (causing, for example, an LED to continue to glow faintly). -* Removing cast macros, since function-style casts are a feature of C++. +* Removing cast macros, since function-style casts are a feature of C++. This + should fix contributed libraries that broke in Arduino 0012. +* Modifying pulseIn() to wait for a transition to start timing (i.e. ignoring + any pulse that had already started when the function was called). * Fixing bug in random() that limited the ranges of values generated. Thanks to Mikal Hart. +* Fixing bug in Ethernet library that interfered with use of pins 8 and 9. +* Modifying the core, libraries, and bootloader source to support the + ATmega328, but not yet including it in boards menu. * Updating ATmega168 bootloader to work with standard distributions of avrdude (responding to signature requests made with the universal SPI command) and correctly store EEPROM data. Thanks to ladyada. + +[environment] +* Omitting unused functions from compiled sketches, reducing their size. * Changing compilation process to allow for use of EEMEM directive (although not yet uploading EEPROM data). diff --git a/todo.txt b/todo.txt index 04d4f073f..c96c031f7 100644 --- a/todo.txt +++ b/todo.txt @@ -1,37 +1,35 @@ 0013 arduino +Fix TICR0 for ATmega8. +Fix delay() comparison to use <= not <. +Ethernet library should use a different source port for each outgoing Client connection: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1227978344 +Support atmega328: http://spiffie.org/know/arduino_328/ + - add atmega328 to avrdude.conf (on Windows) + AVR Allow hardcoding of R/W line to ground with LiquidCrystal library. Improve shiftOut() performance: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1216659239/0 Add String library. Add Encoder library. -Add highByte(), lowByte(), and makeWord(high, low) functions. -Add bitRead() and bitWrite() functions (and bitSet() and bitClear()?) Bootloader: - disable watch dog timer - fix eeprom writing: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1202157667/15 -Support atmega328: http://spiffie.org/know/arduino_328/ Support pin change interrupts. Switch pwm output on pins 5 and 6 to phase-correct mode, if possible. -Problems including WProgram.h twice? -Add #defines for the analog input pins. Add parameter to shiftOut() for specifying a number of bits. Add parameter to Serial.print[ln](x, BIN) for specifying number of bits. +Support PROGMEM strings in Serial.print(): http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1227919972 Add support for ATmega1280 (e.g. timers, external interrupts, multiple serial ports). Add weak attribute to signal handlers: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1203798214 Incorporate ladyada's new SoftwareSerial library. -Good way to receive multiple values / complex messages over the serial port (Firmata?) Floating point support in the map() function. -Way to print floats. Should Serial.print(b) send the ASCII digits of the byte? -Add Serial.write(). (Should this support strings?) Fix delayMicroseconds(0). Add sleep function(s). Add SPI library. Add OneWire library. Add pulseOut(), etc. functions from Wiring. -Add Ping example. Switch to ServoTimer2 library? http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1222201226/0#5 Add ContinuousServo library that inherits from Servo? LiquidCrystal library: support going to the next line with println(). @@ -60,6 +58,7 @@ Comprehensive board management: - Enabled and disabled boards. - Dialog for enabling, disabling, adding, and deleting boards. - Board descriptions (e.g. explaining differences between boards). +Allow for libraries in /libraries. Clean up Library and LibraryManager. Detect dependencies between libraries. Byte-based serial monitor. @@ -69,14 +68,15 @@ Incorporate serial-net proxy. Changing font size should change serial monitor font size. Deal with shorter screens (e.g. ASUS EEPC). Investigate method for auto-detecting serial port on Windows (javax.usb?) + - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1225226642 Guess serial port on the Mac and Linux. Automatic detection of baud rate for serial monitor (based on the call to Serial.begin() in the current sketch). Improve, generally, the upload experience (e.g. faster program start after upload, keep-alive messages to bootloader from IDE, shorter bootloader timeout if possible, progress bar) -Generate .eep files for EEPROM variables (without warning when the EEMEM directive isn't used). Allow uploading of .hex files. Allow for arbitrary compilation command line arguments. Find in reference should give same message for missing page as for missing page association. Test find in reference on libraries. +Change background color while using external editor: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1229567785 DEVELOPMENT @@ -106,39 +106,35 @@ Add a German board to the forum. DOCUMENTATION / NAVIGATION -Move Hacking section into Learning (and rename?). Create About section. Remove Board page. Move Environment into the Reference section (which should be renamed Programming). -DOCUMENTATION / CONTENTS +DOCUMENTATION / FOUNDATIONS -Document Matrix and Sprite libraries on the Arduino site. -Documentation for moving from Arduino to custom PCBs. -Arduino feature list (in Getting Started > Introduction). -Programming tutorial for Arduino. -Write advanced library tutorial. Better documentation of the Arduino BT. Tutorial about serial communication. DOCUMENTATION / REFERENCE Remove parameters from the function links on the reference page. +Document Matrix and Sprite libraries on the Arduino site. +Document Wire.endTransmission() return values: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1228240199 DOCUMENTATION / EXAMPLES +Add LiquidCrystal library examples. +Add Ethernet library examples. +Add Wire library examples. Add examples using specific hardware (simple analog sensors, optocouplers, etc.) Examples should demonstrate use of functions. Add I2C EEPROM example using Wire library. Update pictures to use Arduino Diecimila. Create diagrams and schematics for the examples. -DOCUMENTATION / HARDWARE - -Get good top-down, well-lit, plain-white-background photos of the Arduino boards. - DOCUMENTATION / GETTING STARTED +Arduino feature list (in Getting Started > Introduction). Main "getting started" link should automatically load page for the user's operating system. Consider deleting many of the pictures in the howto's as they just make it harder to see the instructions without adding much (e.g. the pictures of files in folders). Tell people not to put the board on a Powerbook. @@ -153,3 +149,5 @@ Add explanation of how to work around auto-reset. DOCUMENTATION / HACKING Burning bootloader without an AVRISP: http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html +Documentation for moving from Arduino to custom PCBs. +Write advanced library tutorial.