Skip to content

Commit f6ab884

Browse files
committed
feat(wokwi-tm1637-7segment): arduino uno test
1 parent 860f6eb commit f6ab884

File tree

13 files changed

+124
-0
lines changed

13 files changed

+124
-0
lines changed

.github/workflows/wokwi-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
- name: slide-potentiometer-esp32
6565
path: wokwi-slide-potentiometer/pot-esp32
6666
scenario: slide-potentiometer.test.yaml
67+
- name: tm1637-uno
68+
path: wokwi-tm1637-7segment/tm1637-uno
69+
scenario: tm1637.test.yaml
6770
steps:
6871
- uses: actions/checkout@v4
6972

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ This repository contains a set of test projects for many Wokwi parts. The tests
3131
- wokwi-slide-potentiometer
3232
- [Arduino Uno](./wokwi-slide-potentiometer/pot-uno/)
3333
- [ESP32](./wokwi-slide-potentiometer/pot-esp32/)
34+
- wokwi-tm1637-7segment
35+
- [Arduino Uno](./wokwi-tm1637-7segment/tm1637-uno/)
3436

3537
## Running the tests
3638

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": 1,
3+
"author": "Claude Code",
4+
"editor": "wokwi",
5+
"parts": [
6+
{ "type": "wokwi-arduino-uno", "id": "uno", "top": 144.6, "left": 57, "attrs": {} },
7+
{
8+
"type": "wokwi-tm1637-7segment",
9+
"id": "tm1637",
10+
"top": 28.76,
11+
"left": -69.77,
12+
"attrs": { "color": "red" }
13+
}
14+
],
15+
"connections": [
16+
[ "uno:4", "tm1637:CLK", "green", [ "v-96", "h-168.9" ] ],
17+
[ "uno:5V", "tm1637:VCC", "red", [ "v20", "h128.6", "v-279.3" ] ],
18+
[ "uno:5", "tm1637:DIO", "blue", [ "v0" ] ],
19+
[ "uno:GND.1", "tm1637:GND", "black", [ "v0" ] ]
20+
],
21+
"dependencies": {}
22+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[env:uno]
2+
platform = atmelavr
3+
board = uno
4+
framework = arduino
5+
lib_deps =
6+
robtillaart/TM1637_RT@^0.4.1
4.94 KB
Loading
4.55 KB
Loading
4.58 KB
Loading
4.58 KB
Loading
4.75 KB
Loading
4.31 KB
Loading

0 commit comments

Comments
 (0)