Attempting to use a Template instead of an Overloaded Function in Arduino: TYPE not declared in this Scope
问题 I'm trying to write a function that can Shift out data to 74HC595 shift registers which can shift out 8, 16, and 32 bit values. Using an overloaded function, I have this: /********************************************************************************** * Software SPI Pin Settings *********************************************************************************/ #define SPIPINPORT PORTB //The Port that the Pins are on. #define LatchPin 2 //_RCLK Shift register clock pin #define DataPin 3 /