Commit Graph

6 Commits

Author SHA1 Message Date
David A. Mellis da84adb1e9 Adding word datatype and cast/construction macros, bitRead(), bitWrite(), bitSet(), bitClear(), bit(). 2008-10-25 12:52:07 +00:00
David A. Mellis 5444b25e11 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 c7cac2f165 Added timeout (in microseconds) parameter to pulseIn(). Defaults to 1000000 (1 second). 2008-03-08 21:30:00 +00:00
David A. Mellis 92ba50c7b2 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 0292fe91fc 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 5f3976696d Moving hardware/targets to hardware/cores. 2007-10-06 14:47:50 +00:00