1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-10 21:24:12 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
David A. Mellis
a740bf0588 Replaced avr-lib serial with custom code in wiring.c. 2006-11-23 16:02:55 +00:00
David A. Mellis
e3a0eeb6df Changed HardwareSerial to call the C serial functions in wiring.h and wiring.c to save space. 2006-11-23 11:39:23 +00:00
David A. Mellis
8d6176d0a4 Adding Sonar library for controlling Parallax Ultrasonic PING))) sensors. 2006-11-21 18:16:03 +00:00
David A. Mellis
6bcf40ea9a Adding binary.h for digital constants like B1010. 2006-11-20 17:47:04 +00:00
David A. Mellis
9964122513 Now disconnecting the serial lines from pins 0 and 1 until you call Serial.begin(); that way they can be used as normal digital i/o. 2006-11-20 17:02:57 +00:00
David A. Mellis
41d86d5a75 Added support for extra analog inputs and pwms on ATmega168. 2006-10-15 11:45:26 +00:00
David A. Mellis
9d62fdd479 Adding Wire (TWI/I2C) library from Wiring. Renamed TwoWire.cpp to Wire.cpp and Wire.h to Wire.cpp so that the #include in the sketch matches the name of the library. 2006-10-08 08:51:39 +00:00
David A. Mellis
28447e57a6 Adding instructions for chaning ARDUINO directory. 2006-10-05 22:47:55 +00:00
David A. Mellis
cf1f17886f Adding a Makefile to build Arduino programs from the command line, so that (mostly Linux users) can use Arduino without the environment or installing Java. 2006-10-05 22:40:59 +00:00
David A. Mellis
2bf3756af1 Adding blank target for people who don't want to use the Arduino libraries. 2006-09-01 10:44:35 +00:00
David A. Mellis
dfdd7f5c02 Removing Foo library. 2006-08-30 14:38:33 +00:00
David A. Mellis
702229b2ec Removed three .lst files since I don't think they should be there. 2006-08-27 09:46:12 +00:00
David A. Mellis
896194ff77 Got uart/usart serial communication working with the atmega168. Added some #define for the appropriate register and interrupt/signal names. 2006-08-26 11:35:39 +00:00
David A. Mellis
2f97a4b146 Got timer and pwm functions working with the ATmega168 (including pwm on pin 3); no longer relying on timer.c or timer.h from avrlib. 2006-08-26 09:56:40 +00:00
David A. Mellis
cb676dfa2a Adding Wiring-compatible random(min) and random(min, max) functions (except operating on longs instead of floats). 2006-08-13 09:59:06 +00:00
David A. Mellis
4ba8ffb6ee Optimized size of core, fixed some warnings in libraries. 2006-07-09 12:39:27 +00:00
David A. Mellis
73612d95e0 Commented out unused functions from timer.c to save space. 2006-07-04 22:08:35 +00:00
David A. Mellis
e9113e0320 Reversed analog input pins on ASCII art diagram to correspond with current boards. 2006-07-04 22:08:11 +00:00
David A. Mellis
d43594f1dc wiring.h include avr/io.h and WProgram.h include stdlib.h and string.h 2006-04-14 11:53:56 +00:00
David A. Mellis
e751b61d4d Updating wiring firmware to version 0006. 2006-04-14 11:09:32 +00:00
David A. Mellis
56c86b6f67 Readding Matrix examples. 2006-04-09 12:38:38 +00:00
David A. Mellis
b4c2fc9d9f Removing matrix examples temporarily. 2006-04-09 12:37:55 +00:00
David A. Mellis
c2f27f227d Adding examples and keyword files to Sprite and Matrix libs. 2006-04-09 12:35:08 +00:00
David A. Mellis
b5dde887ab Library system working: Import Library menu adds header files to sketch, linking is conditional based on #include's in sketch. 2006-03-26 22:16:55 +00:00
David A. Mellis
650c2752c8 Serial.println() now sends '\r', '\n' (instead of just '\n') 2006-03-26 12:13:01 +00:00
David A. Mellis
c4c8c95474 Commented the pulseIn function. 2006-03-24 14:47:11 +00:00
David A. Mellis
4f80fe1489 Added pulseIn function to measure pulse durations. 2006-03-24 14:09:54 +00:00
David A. Mellis
c6d860ef00 Adding new C++ Serial lib from Nick/Wiring, but modified to use avrlib's uart.c and uart.h as low-level functions. 2006-03-23 14:16:00 +00:00
David A. Mellis
ac79978ff5 Moved Matrix and Sprite libraries out of arduino/ core directory, as they were too big to link against every sketch. 2006-03-21 10:49:41 +00:00
David A. Mellis
1c2b95f759 Fixed abs(), min(), max(), constrain() macros (were incorrectly parenthesized). 2006-03-20 22:43:25 +00:00
David A. Mellis
aa9ed15849 Implemented PWM on pin 11; slowed PWM frequency on pins 9 and 10; documented changes in readme.txt. 2006-02-25 13:15:23 +00:00
David A. Mellis
c8711cd2fd printInteger() & co now take longs instead of ints. 2006-02-24 15:52:19 +00:00
David A. Mellis
ea34315bc2 Adding Matrix, Sprite changed to 1 bit only (max 8x8). 2006-02-23 23:18:20 +00:00
David A. Mellis
cb066a259d Adding preliminary Sprite library. 2006-02-23 12:01:57 +00:00
David A. Mellis
ddb6120299 Fixed (improved, at least) millis(), changed printString to take (char *) instead of (unsigned char *) to work with string literals (e.g. printString("hello");) in C++. 2006-02-12 16:01:59 +00:00
David A. Mellis
7e0183cf41 Added C++/extern C wrappers, missing function prototypes. 2006-02-12 16:00:47 +00:00
David A. Mellis
55dc23e859 Fixed beginSerial() to take baud rates above 19200; adjusted Serial Monitor Baud Rate menu items accordingly. 2006-01-16 09:55:09 +00:00
David A. Mellis
b7728ae604 svn merge -r 72:HEAD svn+ssh://mellis@svn.berlios.de/svnroot/repos/arduino/tags/0004 - used Base.java from tags/0004 but changed version back to 0003. 2006-01-12 23:24:12 +00:00
David A. Mellis
bbec45d3df Improved accuracy of delayMicroseconds(). 2005-12-03 17:03:26 +00:00
David A. Mellis
30999fdcfd Reversed order of analog input pins. Added printNewline(). 2005-11-28 13:31:08 +00:00
David A. Mellis
38ee1b7330 Commented out idle loop in timer (was giving problems under Linux) and added comments. 2005-11-23 00:28:35 +00:00
David A. Mellis
80cf383855 millis() now returns a new value every millisecond, instead of every second. 2005-10-08 08:46:13 +00:00
David A. Mellis
21fe7f0a83 Trying desperately to get the Windows build working. 2005-10-06 17:18:26 +00:00
David A. Mellis
482557ea01 Update Mac icon; replaced print() with printInteger(), printByte(), printString(), printHex(), printBinary(), printOctal(), and printIntegerInBase(). 2005-10-04 09:03:02 +00:00
David A. Mellis
11aca24b1f Renamed delayMicro() to delayMicroseconds() 2005-09-27 14:39:03 +00:00
David A. Mellis
7fbb37cbe0 Reworked build system: makefiles replaced with in-program logic; core replaced with targets; preproc/ replaced with Wiring's; now prepend "#include "WProgram.h" instead of wiringlite.inc; new entries in preferences.txt; bundled Wiring libs. 2005-09-25 14:11:32 +00:00