dnax / samsung_16lf01_vfd Goto Github PK
View Code? Open in Web Editor NEWArduino driver library for the Samsung 16LF01 series 16-segments VFD
License: GNU General Public License v3.0
Arduino driver library for the Samsung 16LF01 series 16-segments VFD
License: GNU General Public License v3.0
Found the problem, something I did myself ๐ฐ The 2 files .h and .cpp were present in the project folder which gave a conflict when verifying the code. Newby error, hope it helps someone in the future :)
I stumbled upon your github here and wanted to try and get my VFD going, not sure what is going on is this an error in the library?
I'm using an arduino uno r4
thanks :)
error dump:
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::reset()': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:127: multiple definition of
Samsung_16LF01_VFD::reset()'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:127: first defined here
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::sendCommand(unsigned char)': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:136: multiple definition of
Samsung_16LF01_VFD::sendCommand(unsigned char)'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:136: first defined here
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::setCursor(unsigned char)': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:80: multiple definition of
Samsung_16LF01_VFD::setCursor(unsigned char)'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:80: first defined here
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::clear()': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:65: multiple definition of
Samsung_16LF01_VFD::clear()'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:65: first defined here
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::home()': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:74: multiple definition of
Samsung_16LF01_VFD::home()'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:74: first defined here
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::setBrightness(unsigned char)': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:102: multiple definition of
Samsung_16LF01_VFD::setBrightness(unsigned char)'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:102: first defined here
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::setDigitsCount(unsigned char)': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:152: multiple definition of
Samsung_16LF01_VFD::setDigitsCount(unsigned char)'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:152: first defined here
C:Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\libraries\Samsung_16LF01_VFD\Samsung_16LF01_VFD.cpp.o: In function Samsung_16LF01_VFD::begin(unsigned char, unsigned char)': d:\Users\Jan\Documents\Arduino\libraries\Samsung_16LF01_VFD/Samsung_16LF01_VFD.cpp:53: multiple definition of
Samsung_16LF01_VFD::begin(unsigned char, unsigned char)'
C:\Users\Jan\AppData\Local\Temp\arduino\sketches\E7D5AA76006BB786EB919FB4AF5162B4\sketch\Samsung_16LF01_VFD.cpp.o:D:\Users\Jan\Documents\Arduino\display_tester/Samsung_16LF01_VFD.cpp:53: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
The Samsung 16LF01UA3, 16LF01UA4 and VFM161LSA1 all use the OKI MSC1937-01 VFD controller witch is a clone of the original Rockwell 10937 VFD controller.
Any VFD display that is based on the Rockwell 10937 VFD controller or one of its clones like the OKI MSC1937-01 or Micrel MIC10937 are compatible with this library.
Think of the Rockwell 10937 as the HD44780 for LCD displays, maybe you can rename the library to reference the name of the controller instead of a single module that is based on that controller.
The 9MS09SS1 display that also works uses a ML9209-xx VFD controller and a Nuvoton W78E052DPG microcontroller to translate the incompatible ML9209-xx protocol to the Rockwell 10937 protocol.
https://datasheetspdf.com/pdf/1339824/Rockwell/10937/1
https://datasheetspdf.com/pdf/27306/MicrelSemiconductor/MIC10937/1
https://datasheetspdf.com/pdf/626480/OKIelectroniccomponets/MSC1937-01/1
My display is fully functional with this library.
It is: VFM161LSA1
https://i.imgur.com/4vu5bco.jpg
Many thanks for this lib!
Hello ,
i got my hand on an XBT-C7220 , they use 2 Rockwell 10937
Every thing look good except the charmap is strangely working :
When i ask for @abcdefghijk , i got @@CCDDGGHHKK
Even when i change the setCursor , when is ask for cursor pos 0,1,2,3,4,5,6,7 the text start at 0,1,1,4,4,5,5,8
i've tried to slow down the timing , i've checked with my scope that the reset is working correctly , eveything is fine .
it look like a problem with second lsb ;(
Do you have any idea ?
Thanks !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.