Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Super Mario Count
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas R. Koll
Super Mario Count
Compare Revisions
2b74da345a0c3a1eff17ac057fbd5fef7455f79a...682fcb83bdd14cffea650dc758b07c4e5ffdf0ea
Source
682fcb83bdd14cffea650dc758b07c4e5ffdf0ea
Select Git revision
...
Target
2b74da345a0c3a1eff17ac057fbd5fef7455f79a
Select Git revision
Compare
Commits (5)
move stuff
· 532e022d
mik
authored
Feb 20, 2017
532e022d
fix typo, better instructions
· 820f8d0a
mik
authored
Feb 20, 2017
820f8d0a
Merge pull request #1 from powermik/cleanup
· c696e4f0
powermik
authored
Feb 21, 2017
Cleanup
c696e4f0
Change mqtt server
· 71b50e18
Thomas R. Koll
authored
Apr 13, 2017
71b50e18
Blank screen when count reaches 0
· 682fcb83
Thomas R. Koll
authored
Apr 13, 2017
682fcb83
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
9 additions
and
4 deletions
+9
-4
README.md
README.md
+2
-2
firmware/nodemcu-dev-13-modules-2016-11-06-11-34-41-float.bin
...ware/nodemcu-dev-13-modules-2016-11-06-11-34-41-float.bin
+0
-0
hardware/case.scad
hardware/case.scad
+0
-0
hardware/roundCornersCube.scad
hardware/roundCornersCube.scad
+0
-0
software/config.lua
software/config.lua
+1
-1
software/display.lua
software/display.lua
+0
-0
software/init.lua
software/init.lua
+0
-0
software/mqtt-client.lua
software/mqtt-client.lua
+0
-0
software/supermariocount.lua
software/supermariocount.lua
+6
-1
software/tools.lua
software/tools.lua
+0
-0
software/upload.sh
software/upload.sh
+0
-0
software/wifi-devlol.lua
software/wifi-devlol.lua
+0
-0
No files found.
README.md
View file @
682fcb83
...
...
@@ -7,7 +7,7 @@ __Replacing humans with electronics!__
*
Wemos D1 Mini (esp8266)
*
SSD1306 Display 128x64 I²C with yellow and yellow OLED display
*
Simple u
n
ser interface with only two buttons to increment/decrement a decimal number.
*
Simple user interface with only two buttons to increment/decrement a decimal number.
*
Safe to resets (loads last total from mqtt broker)
*
Mqtt for NSA surveilance compliance
*
Open Source
...
...
@@ -17,7 +17,7 @@ __Replacing humans with electronics!__
*
Connect display SCL (clock) to Wemos D1 pin D1 and SDA (data) to pin D2
*
Connect push buttons to pin D5 and D6, don't forget a pull-down resistor to ground
*
Flash esp module with firmware (.bin file)
*
Write all lua files onto esp module
*
Write all lua files onto esp module
(you can use supplied software/upload.sh)
## Todo
...
...
nodemcu-dev-13-modules-2016-11-06-11-34-41-float.bin
→
firmware/
nodemcu-dev-13-modules-2016-11-06-11-34-41-float.bin
View file @
682fcb83
File moved
case.scad
→
hardware/
case.scad
View file @
682fcb83
File moved
roundCornersCube.scad
→
hardware/
roundCornersCube.scad
View file @
682fcb83
File moved
config.lua
→
software/
config.lua
View file @
682fcb83
...
...
@@ -5,7 +5,7 @@ module.SSID["/dev/lol"] = "4dprinter"
module
.
SSID
[
"ESP8266_OPEN"
]
=
""
module
.
mqtt
=
{
host
=
"
mqtt.devlol.org
"
,
host
=
"
192.168.8.2
"
,
port
=
1883
,
id
=
"supermariocount"
..
node
.
chipid
(),
endpoint
=
'supermariocount/'
,
...
...
display.lua
→
software/
display.lua
View file @
682fcb83
File moved
init.lua
→
software/
init.lua
View file @
682fcb83
File moved
mqtt-client.lua
→
software/
mqtt-client.lua
View file @
682fcb83
File moved
supermariocount.lua
→
s
oftware/s
upermariocount.lua
View file @
682fcb83
...
...
@@ -17,7 +17,12 @@ function retrieve_last_super_mario_count()
end
function
draw_display
()
disp
.
draw
(
super_mario_count
,
timer_id
)
if
super_mario_count
==
0
then
disp
.
flash_title
(
" "
,
1
)
disp
.
draw
(
" "
,
timer_id
)
else
disp
.
draw
(
super_mario_count
,
timer_id
)
end
end
function
change_super_mario_count
(
what
)
...
...
tools.lua
→
software/
tools.lua
View file @
682fcb83
File moved
upload.sh
→
software/
upload.sh
View file @
682fcb83
File moved
wifi-devlol.lua
→
software/
wifi-devlol.lua
View file @
682fcb83
File moved