Commit graph

91 commits

Author SHA1 Message Date
Philipp Matthias Schaefer
2e90aed245 Revert split into separate functions 2020-02-02 21:29:04 +01:00
Philipp Matthias Schaefer
028911f959 Update documentation 2020-02-02 21:27:17 +01:00
Philipp Matthias Schaefer
8711a1783f Rename variable 2020-02-02 21:26:33 +01:00
Philipp Matthias Schaefer
32cd4f2d35 Rename function 2020-02-02 21:11:52 +01:00
Philipp Matthias Schaefer
7449b87004 Move loop before functions implementing the details 2020-02-02 21:11:06 +01:00
Philipp Matthias Schaefer
ae1a32d549 Move constants and variables into one block 2020-02-02 21:10:22 +01:00
Philipp Matthias Schaefer
ad97be1295 Express range check differently 2020-02-02 21:09:06 +01:00
Philipp Matthias Schaefer
aaab790f81 Introduce constants LOWER_THRESHOLD and UPPER_THRESHOLD 2020-02-02 21:05:03 +01:00
Philipp Matthias Schaefer
4f29fcdb90 Rename constant from THRESHOLD to MAX_COUNTER 2020-02-02 21:04:08 +01:00
Philipp Matthias Schaefer
bd5dc49a92 Move led update code to own function 2020-02-02 21:04:08 +01:00
Philipp Matthias Schaefer
924d873aa9 Rename variable 2020-02-02 21:04:06 +01:00
Philipp Matthias Schaefer
2bbd6c5f3b Rename variable 2020-02-02 21:03:38 +01:00
Philipp Matthias Schaefer
472d3995da Move knowledge from comments into constant names 2020-02-02 21:03:38 +01:00
Philipp Matthias Schaefer
19a1c177c6 Move update of space_status_b4 into own function 2020-02-02 21:03:38 +01:00
Philipp Matthias Schaefer
b14055bcfa Simplify update_space_status 2020-02-02 21:03:32 +01:00
Philipp Matthias Schaefer
da152247ac Move space_status update to own function 2020-02-02 20:48:18 +01:00
Philipp Matthias Schaefer
bf2b754043 Move status printing to own function 2020-02-02 20:46:19 +01:00
Philipp Matthias Schaefer
409ea1d056 Move delay back without changing the pin interaction timing 2020-02-02 20:37:12 +01:00
Philipp Matthias Schaefer
f6886a7a78 Make delay_time a constant 2020-02-02 20:30:23 +01:00
Philipp Matthias Schaefer
4db98d53cd Make threshold a constant 2020-02-02 20:29:20 +01:00
Philipp Matthias Schaefer
af86687e43 Use const for constants 2020-02-02 20:26:50 +01:00
Philipp Matthias Schaefer
b9f9f55d2f Separate serial setup from pin mode setup 2020-02-02 20:23:05 +01:00
Philipp Matthias Schaefer
0871de8aff Use common naming convention for PIN constants 2020-02-02 20:22:16 +01:00
Philipp Matthias Schaefer
7f3c4aba6b Consistently use all caps for constants 2020-02-02 20:20:41 +01:00
Philipp Matthias Schaefer
ddde38ec7d Rename constant to reflect new sensor type 2020-02-02 20:19:06 +01:00
Philipp Matthias Schaefer
517d131689 Consistently use one empty line to separate thematic parts 2020-02-02 20:17:53 +01:00
Philipp Matthias Schaefer
36169ba0cf Add newline at end of file 2020-02-02 20:17:08 +01:00
Philipp Matthias Schaefer
760a9d1a44 Remove trailing whitespace 2020-02-02 20:17:00 +01:00
bernd2k
28ce0e8963
youtube link check. replaced one 2020-01-26 12:26:15 +01:00
bernd2k
65bd08a6c6
new slogan 2020-01-18 22:32:22 +01:00
bernd2k
3fafd8e722 adds reed sensor to arduino
adds reed sensor to arduino
removes RPR220 sensor code
adds a low pass of status to prevent toggling.
2020-01-18 16:32:46 +01:00
bernd2k
6ae6dad3dd new slogan 2020-01-18 15:55:33 +01:00
bernd2k
5fe5d10d7b Merge branch 'master' of https://github.com/HackspaceJena/space_status 2020-01-08 22:45:49 +01:00
bernd2k
30567b1fdc adds download of status within period 2020-01-08 22:45:43 +01:00
Jens Kubieziel
74efac8efa
Merge pull request #1 from fiveop/circuits
add circuit documentation draft
2020-01-07 10:54:21 +00:00
bernd2k
06865bf6e4 adds online status download 2020-01-06 20:27:14 +01:00
bernd2k
a143f9feb5 adds simplification of loading in status.json 2020-01-06 20:10:42 +01:00
bernd2k
5aaf15ef48 adds status print 2020-01-06 14:40:02 +01:00
bernd2k
5f70629f75
Merge pull request #2 from HackspaceJena/mastodon
adds Mastodon features and testmode
2020-01-06 14:34:55 +01:00
bernd2k
06a151457d fixed mastodon handle 2020-01-05 13:28:43 +01:00
bernd2k
a84886a6e6 fixes logic bug 2020-01-05 13:23:21 +01:00
bernd2k
87e007147c typo fix and new slogans 2020-01-05 13:19:10 +01:00
bernd2k
69c629820c adds send_tweet and send_toot functions 2020-01-05 13:12:27 +01:00
bernd2k
9bcff4f4d7 adds check for twitter and mastodon access token 2020-01-05 12:59:26 +01:00
bernd2k
b4c557e19a
adds typo 2019-12-26 22:25:53 +01:00
bernd2k
9a30d8cf6d
new slogan 2019-12-26 22:13:42 +01:00
bernd2k
066a129552
new slogans 2019-12-26 22:08:46 +01:00
bernd2k
fea6ee937f adds mastodon support. 2019-12-20 00:44:07 +01:00
bernd2k
9e86a3cfde adds mastodon requirement and config
initial mastodon commit
2019-12-19 22:59:35 +01:00
bernd2k
f73b58fb46
new slogans 2019-12-19 22:49:32 +01:00