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
|
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
|
7da2236af4
|
added arduino code and moved raspbi code
added arduino code is the read out of the sensor via an arduino.
the raspicode is moved to its own section.
|
2019-11-30 17:42:36 +01:00 |
|