diff --git a/readme.txt b/readme.txt index 108b7687e..da7268785 100644 --- a/readme.txt +++ b/readme.txt @@ -13,6 +13,16 @@ taking care of the production. Yaniv Steiner and Giorgio Olivero have been supporting the project and are working at using it with the Instant Soup platform. +0003 +millis() now updates every millisecond instead of every second. +FTDI USB drivers included with Mac and Windows distributions. +Bootloader included with Windows distribution. +Reversed the analog input pins to correspond to newer boards. This means +a call, for example, to analogRead(0) must be changed to analogRead(5) in +order to read the same physical pin. +Now flushing the serial port before uploading (should fix some errors). +Added a printNewline() function. + 0002 - 2005.10.05 New build process no longer uses makefiles; now controlled by preferences.txt. core/ replaced with targets/; can now link against Wiring libraries. diff --git a/targets/arduino/pins_arduino.c b/targets/arduino/pins_arduino.c index 6d29a4160..380465696 100755 --- a/targets/arduino/pins_arduino.c +++ b/targets/arduino/pins_arduino.c @@ -126,12 +126,12 @@ pin_t analog_out_pin_to_port_array[NUM_DIGITAL_PINS] = { pin_t *analog_out_pin_to_port = analog_out_pin_to_port_array; pin_t analog_in_pin_to_port_array[NUM_ANALOG_IN_PINS] = { - { PC, 5 }, - { PC, 4 }, - { PC, 3 }, - { PC, 2 }, - { PC, 1 }, { PC, 0 }, + { PC, 1 }, + { PC, 2 }, + { PC, 3 }, + { PC, 4 }, + { PC, 5 }, }; pin_t *analog_in_pin_to_port = analog_in_pin_to_port_array; diff --git a/targets/arduino/wiring.c b/targets/arduino/wiring.c index 7260cc9d6..8c657f456 100755 --- a/targets/arduino/wiring.c +++ b/targets/arduino/wiring.c @@ -207,6 +207,11 @@ void printByte(unsigned char c) serialWrite(c); } +void printNewline() +{ + printByte('\n'); +} + void printString(unsigned char *s) { while (*s) diff --git a/todo.txt b/todo.txt index c6788bcfd..113fa1d3a 100644 --- a/todo.txt +++ b/todo.txt @@ -1 +1 @@ -0002 arduino +0003 arduino