21 lines
311 B
C++
21 lines
311 B
C++
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
#include "VFD.h"
|
|
|
|
int main(int argc, char ** argv)
|
|
{
|
|
cout << "Working on VFD module" << endl;
|
|
|
|
VFD vfd;
|
|
|
|
vfd.connect();
|
|
vfd.setDisplay(1, 0, 0);
|
|
vfd.setAddress(VFD::ADDRESS_LINE1);
|
|
vfd.write("Hi there!");
|
|
vfd.disconnect();
|
|
|
|
return 0;
|
|
}
|