Compare commits
No commits in common. "master" and "master" have entirely different histories.
3 changed files with 43 additions and 2 deletions
|
@ -22,8 +22,10 @@ namespace cpp23 {
|
|||
|
||||
// defining some constants
|
||||
enum : uint8_t {
|
||||
LED_PIN = 16, // D0 - GPIO 16
|
||||
REED_PIN = 2 // D4 - GPIO 2
|
||||
LED_PIN = 16, // D0
|
||||
//REED_PIN = 5 // D1
|
||||
REED_PIN = 2 // D4
|
||||
|
||||
};
|
||||
|
||||
enum class door_state {
|
||||
|
|
38
source/server/api_template
Normal file
38
source/server/api_template
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"api":"0.13",
|
||||
"space":"Krautspace",
|
||||
"url":"https://kraut.space",
|
||||
"logo":"https://status.krautspace.de/images/krautspace_pixelbanner.png",
|
||||
"location":{
|
||||
"address":"Hackspace Jena e. V., Krautgasse 26, 07743 Jena, Germany",
|
||||
"lat":50.9292,
|
||||
"lon":11.5826
|
||||
},
|
||||
"state":{
|
||||
"open":false,
|
||||
"lastchange":1563499131,
|
||||
"icon":{
|
||||
"open":"https://status.krautspace.de/images/krautspace_pixelicon_open.png",
|
||||
"closed":"https://status.krautspace.de/images/krautspace_pixelicon_closed.png"
|
||||
}
|
||||
},
|
||||
"feeds":{
|
||||
"calendar":{
|
||||
"type":"ical",
|
||||
"url":"https://calcifer.datenknoten.me/tags/krautspace.ics"
|
||||
}
|
||||
},
|
||||
"contact":{
|
||||
"twitter":"@HackspaceJena",
|
||||
"quitter":"@Krautspace",
|
||||
"facebook":"https://www.facebook.com/HackspaceJena",
|
||||
"email":"office@krautspace.de"
|
||||
},
|
||||
"issue_report_channels":[
|
||||
"twitter",
|
||||
"email"
|
||||
],
|
||||
"projects":[
|
||||
"https://github.com/HackspaceJena/"
|
||||
]
|
||||
}
|
|
@ -367,6 +367,7 @@ def main():
|
|||
"matrix": "#krautchan:matrix.kraut.space"
|
||||
},
|
||||
"issue_report_channels": [
|
||||
"matrix",
|
||||
"email"
|
||||
],
|
||||
"projects": [
|
||||
|
|
Loading…
Reference in a new issue