1
0
Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/develop' into develop

Klaas, Wilfried 5 gadi atpakaļ
vecāks
revīzija
94f65283ae
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      SPS/SPS.ino

+ 10 - 0
SPS/SPS.ino

@@ -1,5 +1,9 @@
 /*
   SPS System mit dem Arduino.
+  Version 0.11
+  17.12.2018
+  - adding Shift left and shift right to register A
+  
   Version 0.11
   07.01.2018
   - programming: 1/2 duty cycle for 0 values in address display
@@ -837,6 +841,12 @@ void doCalc(byte data) {
     case 13:
       a = b - a;
       break;
+    case 14:
+      a = a >> 1;
+      break;
+    case 15:
+      a = a << 1;
+      break;
 #endif
     default:
       break;