Meadow.Foundation.Displays.Tm1637
| Tm1637 | |
|---|---|
| Status | |
| Source code | GitHub |
| Datasheet(s) | GitHub |
| NuGet package |
The TM1637 is a led driver and keyboard scan interface. However, this chip is almost exclusively found pre-assembled with with 4 7-segment displays.
Purchasing
Code Example
Tm1637 display;
public override Task Initialize()
{
Resolver.Log.Info("Initialize...");
display = new Tm1637(Device.Pins.D02, Device.Pins.D01);
display.Brightness = 7;
display.ScreenOn = true;
return Task.CompletedTask;
}
public override Task Run()
{
display.Clear();
var chars = new Character[] { Character.A, Character.B, Character.C, Character.D };
display.Show(chars);
return Task.CompletedTask;
}
Sample project(s) available on GitHub
Wiring Example
To wire a TM1637 to your Meadow board, connect the following:
| TM1637 | Meadow Pin |
|---|---|
| GND | GND |
| VCC | 3V3 |
| SCL | D08 (SCL Pin) |
| SDA | D07 (SDA Pin) |
