Reversed order of analog input pins. Added printNewline().

This commit is contained in:
David A. Mellis 2005-11-28 13:31:08 +00:00
parent e8de19d110
commit 30999fdcfd
4 changed files with 21 additions and 6 deletions

View File

@ -13,6 +13,16 @@ taking care of the production.
Yaniv Steiner and Giorgio Olivero have been supporting the project and are Yaniv Steiner and Giorgio Olivero have been supporting the project and are
working at using it with the Instant Soup platform. 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 0002 - 2005.10.05
New build process no longer uses makefiles; now controlled by preferences.txt. New build process no longer uses makefiles; now controlled by preferences.txt.
core/ replaced with targets/; can now link against Wiring libraries. core/ replaced with targets/; can now link against Wiring libraries.

View File

@ -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_out_pin_to_port = analog_out_pin_to_port_array;
pin_t analog_in_pin_to_port_array[NUM_ANALOG_IN_PINS] = { 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, 0 },
{ PC, 1 },
{ PC, 2 },
{ PC, 3 },
{ PC, 4 },
{ PC, 5 },
}; };
pin_t *analog_in_pin_to_port = analog_in_pin_to_port_array; pin_t *analog_in_pin_to_port = analog_in_pin_to_port_array;

View File

@ -207,6 +207,11 @@ void printByte(unsigned char c)
serialWrite(c); serialWrite(c);
} }
void printNewline()
{
printByte('\n');
}
void printString(unsigned char *s) void printString(unsigned char *s)
{ {
while (*s) while (*s)

View File

@ -1 +1 @@
0002 arduino 0003 arduino