TM1640 digit flickering when given same code as TM1638
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
I'm trying to use some of my code that was written for the TM1638, on the TM1640
I'm only having this problem with this particular statement so far.
switch (Gear) { //Switch that displays correct gear on TM1638
case 102:{
//Reverse gear
gearDis.setDisplayToString("r",0,gearPos);
} break;
case 127:{
//Neutral gear
gearDis.setDisplayToString("n",0,gearPos);
} break;
case 149:
case 153:{ //First gear
gearDis.setDisplayDigit(1,gearPos,false);
} break;
case 170:
case 179:{ //Second gear
gearDis.setDisplayDigit(2,gearPos,false);
} break;
case 191:
case 204:{ //Third gear
gearDis.setDisplayDigit(3,gearPos,false);
} break;
case 213:
case 230:{ //Fourth gear
gearDis.setDisplayDigit(4,gearPos,false);
} break;
case 234:
case 255:{ //Fifth gear
gearDis.setDisplayDigit(5,gearPos,false);
} break;
}
Original issue reported on code.google.com by dacomput...@gmail.com
on 11 Jan 2012 at 8:10
GoogleCodeExporter commented
Nevermind. It was a problem with my code.
No issue with the library.
Original comment by dacomput...@gmail.com
on 11 Jan 2012 at 8:18
GoogleCodeExporter commented
Original comment by rjbati...@gmail.com
on 11 Jan 2012 at 11:33
- Changed state: Invalid