Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Committer:
mjr
Date:
Fri Feb 26 18:42:03 2016 +0000
Revision:
48:058ace2aed1d
New plunger processing 1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mjr 48:058ace2aed1d 1 // Global definitions
mjr 48:058ace2aed1d 2
mjr 48:058ace2aed1d 3 #ifndef PINSCAPE_H
mjr 48:058ace2aed1d 4 #define PINSCAPE_H
mjr 48:058ace2aed1d 5
mjr 48:058ace2aed1d 6 // custom malloc - includes diagnostics if we run out of memory
mjr 48:058ace2aed1d 7 void *xmalloc(size_t siz);
mjr 48:058ace2aed1d 8
mjr 48:058ace2aed1d 9 // diagnostic LED display
mjr 48:058ace2aed1d 10 void diagLED(int r, int g, int b);
mjr 48:058ace2aed1d 11
mjr 48:058ace2aed1d 12 // count of elements in array
mjr 48:058ace2aed1d 13 #define countof(x) (sizeof(x)/sizeof((x)[0]))
mjr 48:058ace2aed1d 14
mjr 48:058ace2aed1d 15 #endif