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:
Image
https://i.stack.imgur.com/lWDEi.gif
My Arduino nano code:
#include <TM1650.h>
#include <BANNED.h>
// [data Pin]
// | [clock Pin]
// | | [num Digits]
// | | | [activate Display]
// | | | | [intensity]
// | | | | | [display mode]
// ↓ ↓ ↓ ↓ ↓ ↓
TM1650 display1(2, 3, 2, true, 7 );
void setup()
{
}
void loop()
{
int n;
for (n = 0; n < 10; n++)
{
// [nNumber]
// | [byte bDots]
// ↓ ↓
display1.setDisplayToDecNumber(n, 0b0000);
delay(250);
}
}
If someone could let me know how to go about modifying the code in order to allow me to use just 2 digitals instead of 4 then that would be great!](GitHub - maxint-rd/TM16xx: Arduino TM16xx library for LED & KEY and LED Matrix modules based on TM1638, TM1637, TM1640 and similar chips. Simply use print() on 7-segment and use Adafruit GFX on matrix.)