Charles Tritt / Mbed OS 21_ForShift2_v5
Revision:
112:a34a2c4cc2cc
Parent:
111:459fa5199128
--- a/main.cpp	Mon Oct 11 01:42:06 2021 +0000
+++ b/main.cpp	Mon Oct 11 14:56:15 2021 +0000
@@ -6,6 +6,8 @@
  display in sequence, then in reverse order. This version demonstrates the use
  of the combination assignment operators. In general it is probably better to 
  use the shift operators. This is the "Nightrider" effect.
+ 
+ This version has a minor glitch (blink) when bar is at left end of bar.
 
  The circuit:
 
@@ -14,7 +16,7 @@
  Created 2006  by David A. Mellis
  Modified 2011  by Tom Igoe
  Modified for Nucleo / mbed 12 Aug 2017  by Sheila Ross
- Modified by C. S. Tritt 9/21/17 and 10/10/21 (v. 1.0, untested)
+ Modified by C. S. Tritt 9/21/17 and 10/10/21 (v. 1.1)
 
 This example code is in the public domain.
 */
@@ -23,7 +25,7 @@
 
 const int DELAY = 100;; // mS wait time.
 
-BusOut bar_graph(D3,D4,D5,D6,D7,D8,D9,D10,D11,D12);
+BusOut bar_graph(D2,D3,D4,D5,D6,D7,D8,D9,D10,D11);
 
 int main()
 {