Wim Huiskamp
/
mbed_LC75711
Test program for Sanyo LC75711 VFD controller
Diff: main.cpp
- Revision:
- 1:7b154968b0ca
- Parent:
- 0:57ddd953d3a2
- Child:
- 2:46ec5f4fb9d8
--- 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; }