I have seen this macro defined before but never really knew its purpose. Can anyone shed light on this?
I'm writing firmware for a PIC32MX, using HiTech PICC32. One of the problems I want to avoid is that since most of the pins have multiple names (eg. AN0 = RB0 ...
I was working on an embedded program using C. There are tons of hardware macros like
#ifdef HardwareA do A #endif
#define MIN(A,B) ((A) <= (B) ? (A) : (B))
least = MIN(*p++, b);