David A. Mellis
2ba54d2cbf
Little fixes:
...
- changing random(max) to use stdlib.h random()
- not generating .eep files to avoid warning when EEMEM isn't used
- removing cast macros (since they are automatically defined in C++)
- writing a digital LOW for PWM value of 0 on pins 5 or 6
2008-10-13 15:03:20 +00:00
David A. Mellis
362b952a68
Adding #ifdef guard to WProgram.h to prevent multiple #includes.
...
Removing Print class inheritance from Firmata since it's not clear that it can be implemented in a way that's compatible with the Firmata protocol and the Print class interface.
2008-09-15 21:09:13 +00:00
David A. Mellis
191bb02f00
Updating Makefile to derive target name from the current folder.
2008-08-17 20:10:47 +00:00
David A. Mellis
278872728a
Adding ADXL3xx accelerometer example; minor comment changes.
2008-07-02 19:06:27 +00:00
David A. Mellis
0bdc02cea5
Wire library patch to provide better error handling.
2008-06-21 23:16:27 +00:00
David A. Mellis
3233d7939b
Fixing random() to work with longs.
2008-05-26 14:02:32 +00:00
David A. Mellis
8f75f0299d
Changing Print class to use regular virtual write() function (instead of my hack
...
ed together version).
2008-05-07 18:24:49 +00:00
David A. Mellis
7d2a6a115f
Fixing millis() overflow: changing millis() and the timer 0 overflow handler so that the millis count is updated in the interrupt, and so we don't need to do a conversion inside millis(). Updated to do list.
2008-04-18 21:56:14 +00:00
David A. Mellis
1a89112e45
Adding the Print class.
2008-04-18 18:46:52 +00:00
David A. Mellis
ab644804ac
Factored out print() and println() from HardwareSerial to a base class for sharing with other things (e.g. LiquidCrystal library), eliminating #include's of avr/signal.h (deprecated). Upping version number and modifying to do list.
2008-04-18 18:39:02 +00:00
Hans-Christoph Steiner
27b2712018
added newline at the end of file to get rid of compiler and SVN warnings
2008-03-24 17:28:17 +00:00
David A. Mellis
ff9bb8dd14
Adding to the todo list and readme; fixing a bit of indentation.
2008-03-08 22:05:23 +00:00
David A. Mellis
a50a2d888f
Added timeout (in microseconds) parameter to pulseIn(). Defaults to 1000000 (1 second).
2008-03-08 21:30:00 +00:00
David A. Mellis
205a447992
Incorporating a modified version of oli.keller's Makefile (prepends #include <WProgram.h> and appends main() among other things).
2008-03-05 02:50:11 +00:00
David A. Mellis
7ffb4cd25d
Cleaning up Mac build, adding Serial.println(unsigned int), adding #include <Sprite.h> to hello_matrix example.
2008-02-23 21:52:53 +00:00
David A. Mellis
b33c8a093d
New script for download the reference from Tom Pollard. Updated reference and readme and Makefile.
2008-01-22 22:10:55 +00:00
David A. Mellis
05717a198c
Adding analogReference() function - needs testing on an ATmega8 (but works on the ATmega 168).
2007-12-14 04:21:59 +00:00
David A. Mellis
444c2dee32
Adding map(), fixing radians() and degrees(), adding cast functions (int(x) instead of (int) x), adding interrupts() and noInterrupts(), etc.
2007-11-21 17:08:07 +00:00
David A. Mellis
97aafe935a
Moving hardware/targets to hardware/cores.
2007-10-06 14:47:50 +00:00