Test program for Sanyo LC75711 VFD controller

Dependencies:   LC75711 mbed

Files at this revision

API Documentation at this revision

Comitter:
wim
Date:
Fri Sep 15 17:38:57 2017 +0000
Parent:
0:57ddd953d3a2
Child:
2:46ec5f4fb9d8
Commit message:
Modified setBlink(), added clrBlink()

Changed in this revision

LC75711.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LC75711.lib	Tue Sep 12 18:39:57 2017 +0000
+++ b/LC75711.lib	Fri Sep 15 17:38:57 2017 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/wim/code/LC75711/#5eb5fee234e8
+https://developer.mbed.org/users/wim/code/LC75711/#cb6f2b7930c8
--- a/main.cpp	Tue Sep 12 18:39:57 2017 +0000
+++ b/main.cpp	Fri Sep 15 17:38:57 2017 +0000
@@ -1,5 +1,6 @@
 /* mbed LC75711 Test program, for Sanyo LC75711 VFD controller
  * Copyright (c) 2017, v01: WH, Initial version
+ *               2017, v02: WH, Modified setBlink  
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -316,14 +317,15 @@
 
         case 'A': {
           //Blink some grids
-          LC75711.setBlink(true, (LC75711_GR1 | LC75711_GR2 | LC75711_GR3 | LC75711_GR4) );
+          LC75711.setBlink( (LC75711_GR1 | LC75711_GR2 | LC75711_GR3 | LC75711_GR4) );
           break;
         } 
 
         case 'B': {
-          LC75711.setBlink(false, LC75711_GR3); // Clear GR3 Blink
+          //Disable Blinking grids          
+          LC75711.clrBlink(LC75711_GR3); // Clear GR3 Blink
           wait(2);
-          LC75711.setBlink(false, (LC75711_GR1 | LC75711_GR2 | LC75711_GR4) ); //Clear All
+          LC75711.clrBlink(); //Clear All
           
           break;
         }