Backwards compatibility with previous Arduino IDE

This commit is contained in:
rjbatista@gmail.com
2011-12-05 17:06:32 +00:00
parent a8bcd661c8
commit eb4538e162
3 changed files with 2 additions and 6 deletions

View File

@@ -49,11 +49,6 @@ TM1638::TM1638(byte dataPin, byte clockPin, byte strobePin, boolean activateDisp
digitalWrite(strobePin, HIGH);
}
TM1638::~TM1638()
{
// nothing to do
}
void TM1638::setupDisplay(boolean active, byte intensity)
{
sendCommand(0x80 | (active ? 8 : 0) | min(7, intensity));