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

63 Commits

Author SHA1 Message Date
David A. Mellis
88d8326615 Splitting wiring.c into multiple files to get even smaller sketch sizes. 2007-02-03 16:52:51 +00:00
David A. Mellis
2377bb9ddd Removing delay() in analogRead(). It seems we don't need it. Not sure what changed from before when it seemed necessary to prevent bugs. 2007-02-03 15:36:30 +00:00
David A. Mellis
adc02386ec Making NUM_ANALOG_IN_PINS conditional on the microcontroller so analog inputs 6 and 7 work on the ATmega168. 2007-01-17 08:16:43 +00:00
David A. Mellis
cfeb4a3bce Fixed bug in Serial.available() causing it to return incorrect values when the head wrapped around. Thanks to Don Cross. 2007-01-12 21:27:18 +00:00
David A. Mellis
41d50ae572 Now appending main() to the user's sketch in preparation for making the Arduino core a library (.a) file. 2007-01-12 17:58:39 +00:00
David A. Mellis
ce57fe617d Adding EEPROM library. API: EEPROM.read(addr), EEPROM.write(addr, val). 2006-12-27 21:36:39 +00:00
David A. Mellis
122bee43c6 Adding #include <avr/signal.h> to twi.c because the older version of avr-libc for Ubuntu Linux 6.06 (Dapper) doesn't define SIGNAL() in <avr/interrupt.h>. 2006-12-26 00:01:31 +00:00
David A. Mellis
2bc42669e8 Adding Serial.flush() command. 2006-12-25 18:00:30 +00:00
David A. Mellis
fd0a5413aa Adding #include <avr/signal.h> to WInterrupts.c. 2006-12-19 04:54:53 +00:00
David A. Mellis
41eeba97ca Removing Sonar library as per Tom Igoe's suggestion. 2006-12-05 20:51:03 +00:00
David A. Mellis
cddebf41cc Stopped building .eep file since it was causing errors and we don't need it. 2006-12-05 20:33:39 +00:00
David A. Mellis
69949c2041 Adding #include <Wire.h> to the Wire library examples. 2006-12-02 20:45:04 +00:00
David A. Mellis
4cdcd82a76 Fixed WInterrupts to work with the ATmega168. 2006-12-02 16:59:20 +00:00
David A. Mellis
f92fd4750c Adding software serial libraries. The read function doesn't quite work properly yet, but it's a start. 2006-11-29 23:29:01 +00:00
David A. Mellis
d21eb97de4 Adding some comments to explain the interrupts. 2006-11-29 19:35:43 +00:00
David A. Mellis
514a74849a attachInterrupt() and detachInterrupt(): from Wiring, with changes to automatically enable and disable the relevant interrupt and to specify the trigger. 2006-11-24 17:12:32 +00:00
David A. Mellis
bd17cfbdc0 Added shiftOut() routine and fixed new serial functions to work with the ATmega168. 2006-11-23 19:13:21 +00:00
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