Permalink
Browse files

Updated Decimal

  • Loading branch information...
1 parent f62b45c commit 5fc45ab67795095e0eb6eccedd52ce3b84f04a58 @MightyQ MightyQ committed Sep 22, 2012
Showing with 0 additions and 40 deletions.
  1. +0 −40 Pineapple/Pineapple.cpp
@@ -208,44 +208,4 @@ void Pineapple::setDecimalPoint(int digit, boolean decimalState) {
update();
}
}
-
- if(_digit == 2) {
-
- if (_decimalState == HIGH && _common == HIGH) {
- setPin(_ddp, LOW);
- update();
- }
- if (_decimalState == HIGH && _common == LOW) {
- setPin(_ddp, HIGH);
- update();
- }
- if (_decimalState == LOW && _common == HIGH) {
- setPin(_ddp, HIGH);
- update();
- }
- if (_decimalState == LOW && _common == LOW) {
- setPin(_ddp, LOW);
- update();
- }
- }
-
- if(_digit == 3) {
-
- if (_decimalState == HIGH && _common == HIGH) {
- setPin(_dddp, LOW);
- update();
- }
- if (_decimalState == HIGH && _common == LOW) {
- setPin(_dddp, HIGH);
- update();
- }
- if (_decimalState == LOW && _common == HIGH) {
- setPin(_dddp, HIGH);
- update();
- }
- if (_decimalState == LOW && _common == LOW) {
- setPin(_dddp, LOW);
- update();
- }
- }
}

0 comments on commit 5fc45ab

Please sign in to comment.