David A. Mellis
5800ace0b5
Adding word datatype and cast/construction macros, bitRead(), bitWrite(), bitSet(), bitClear(), bit().
2008-10-25 12:52:07 +00:00
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
a50a2d888f
Added timeout (in microseconds) parameter to pulseIn(). Defaults to 1000000 (1 second).
2008-03-08 21:30:00 +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