瀏覽代碼

bug: a = not a not working

Klaas, Wilfried 2 年之前
父節點
當前提交
6126f1b215
共有 3 個文件被更改,包括 13 次插入1 次删除
  1. 8 0
      README.md
  2. 4 0
      SPS/SPS.ino
  3. 1 1
      SimpleSPS/SImpleSPS/SImpleSPS.ino

+ 8 - 0
README.md

@@ -8,12 +8,20 @@ http://www.rcarduino.de/doku.php?id=en:arduino:arduinosps
 And there is now a print book at amazon 
 https://www.amazon.com/dp/1731232535
 
+**Version 0.12.4**
+  11.06.2021
+
+  - bug: pop not working
+  - bug: a = not a not working
+
 **Version 0.12.3**
   10.06.2021
+
   - adding auto programming feature for the SPS Emulator
 
 **Version 0.12.2**
   07.06.2021
+
   - bug with servo in 4-bit mode, evaluate the full 8 bit.
 
 **Version 0.12.1**

+ 4 - 0
SPS/SPS.ino

@@ -1,5 +1,9 @@
 /*
   SPS System mit dem Arduino.
+  Version 0.12.4
+  10.06.2021
+  - bug: pop not working
+
   Version 0.12.3
   10.06.2021
   - adding auto programming feature for the SPS Emulator

+ 1 - 1
SimpleSPS/SImpleSPS/SImpleSPS.ino

@@ -390,7 +390,7 @@ void doCalc(byte data) {
       a = a ^ b;
       break;
     case 10:
-      a = !a;
+      a = ~a;
       break;
     default:
       break;