Add Skynet/ANET A10 support

This commit is contained in:
Bob-the-Kuhn
2017-06-10 00:12:18 -05:00
committed by Scott Lahteine
parent eb314373bb
commit 9651d01e1a
41 changed files with 3709 additions and 10 deletions

View File

@ -129,6 +129,11 @@ const PinInfo pin_array[] PROGMEM = {
bool get_pinMode(int8_t pin) {return *portModeRegister(digitalPinToPort_DEBUG(pin)) & digitalPinToBitMask_DEBUG(pin); }
#endif
#if defined(__AVR_ATmega1284P__) // 1284 IDE extensions set this to the number of
#undef NUM_DIGITAL_PINS // digital only pins while all other CPUs have it
#define NUM_DIGITAL_PINS 32 // set to digital only + digital/analog
#endif
#define PWM_PRINT(V) do{ sprintf_P(buffer, PSTR("PWM: %4d"), V); SERIAL_ECHO(buffer); }while(0)
#define PWM_CASE(N,Z) \
case TIMER##N##Z: \