Hey all I am using a 2 digit 8 segment TM1650 Arduino library and I can't seem to find the setting for that? I can only find TM1650_DISPMODE_4x8 and TM1650_DISPMODE_4x7. No 2x8.
My setup looks like this when running the code below:
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:3:20: error: no matching function for call to 'TM1650::TM1650(int)'
TM1650 display1(2 );
^
In file included from C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:1:0:
c:\Users\admin\Documents\Arduino\libraries\TM16xx_LEDs_and_Buttons\src/TM1650.h:38:5: note: candidate: TM1650::TM1650(byte, byte, byte, boolean, byte, byte)
TM1650(byte dataPin, byte clockPin, byte numDigits=4, boolean activateDisplay=true, byte intensity=7, byte displaymode = TM1650_DISPMODE_4x8);
^~~~~~
c:\Users\admin\Documents\Arduino\libraries\TM16xx_LEDs_and_Buttons\src/TM1650.h:38:5: note: candidate expects 6 arguments, 1 provided
In file included from C:\Users\David\Documents\Arduino\TM1650\TM1650.ino:1:0:
c:\Users\admin\Documents\Arduino\libraries\TM16xx_LEDs_and_Buttons\src/TM1650.h:34:7: note: candidate: constexpr TM1650::TM1650(const TM1650&)
class TM1650 : public TM16xx
^~~~~~
c:\Users\admin\Documents\Arduino\libraries\TM16xx_LEDs_and_Buttons\src/TM1650.h:34:7: note: no known conversion for argument 1 from 'int' to 'const TM1650&'
c:\Users\admin\Documents\Arduino\libraries\TM16xx_LEDs_and_Buttons\src/TM1650.h:34:7: note: candidate: constexpr TM1650::TM1650(TM1650&&)
c:\Users\admin\Documents\Arduino\libraries\TM16xx_LEDs_and_Buttons\src/TM1650.h:34:7: note: no known conversion for argument 1 from 'int' to 'TM1650&&'
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino: In function 'void setup()':
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:6:3: error: 'Wire' was not declared in this scope
Wire.begin();
^~~~
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:7:12: error: 'class TM1650' has no member named 'init'; did you mean 'digits'?
display1.init();
^~~~
digits
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:8:12: error: 'class TM1650' has no member named 'displayString'; did you mean 'setDisplayToString'?
display1.displayString("12");
^~~~~~~~~~~~~
setDisplayToString
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:9:40: error: 'class TM1650' has no member named 'setDot'; did you mean 'start'?
for (byte i = 0; i < 4; i++)display1.setDot(i, false);
^~~~~~
start
exit status 1
Compilation error: no matching function for call to 'TM1650::TM1650(int)'
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino: In function 'void setup()':
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:13:12: error: 'class TM1650' has no member named 'init'; did you mean 'digits'?
display1.init();
^~~~
digits
C:\Users\admin\Documents\Arduino\TM1650\TM1650.ino:14:12: error: 'class TM1650' has no member named 'clear'
display1.clear();
^~~~~
exit status 1
Compilation error: 'class TM1650' has no member named 'init'; did you mean 'digits'?
Looking at the pcb tracks only power, gnd, data and clock tracks seem to be going to the correct places. All others do not seem to be aligning like they are in the datasheet? Or maybe i am looking at it incorrectly?