Commit graph

49 commits

Author SHA1 Message Date
redfast00
124e0bb43a
Check initialization of CAN module (untested) 2021-07-31 22:21:48 +02:00
redfast00
463ebfa3e0
Deterministic modules 2021-02-03 01:25:03 +01:00
80c8f4815c
Consistently declare pins with PIN_ constants 2021-02-01 19:18:28 +01:00
2167a03924
Remove unused constant 2021-02-01 18:52:30 +01:00
dd9bceecbf
Change field from "puzzles solved" to "… left" 2021-02-01 18:51:02 +01:00
1f14c8aecd
Revert "New payload type for gamestart"
This reverts commit 1743d8d58a.
2021-02-01 18:42:38 +01:00
1743d8d58a
New payload type for gamestart 2021-02-01 18:41:00 +01:00
fea2d19e94
Make deadline msg somewhat clearer and add comment 2021-02-01 18:13:23 +01:00
dc3299f5f8
Merge remote-tracking branch 'github/master' 2021-02-01 18:10:09 +01:00
03e99fbe05
Start game with button instead of automatically 2021-02-01 18:05:34 +01:00
redfast00
afd3ae67f8
Add field for amount of puzzle modules connected 2021-02-01 17:55:01 +01:00
redfast00
07fd7ed1c8
Add deadline for loop function so users are forced to call it frequently 2021-02-01 17:00:15 +01:00
redfast00
393b1c94ce
Add puzzle_modules_solved to gamestate updates 2021-02-01 15:59:46 +01:00
redfast00
e04ec74d3c
Make info and state optional callbacks 2021-02-01 15:33:14 +01:00
redfast00
d9d13fd84e
Remove double function 2021-02-01 13:40:39 +01:00
redfast00
1125b59a81
Merge pull request #14 from ZeusWPI/info-callback
Add callback for getting info
2021-01-30 14:26:55 +01:00
redfast00
98e8c39ad8
Merge pull request #15 from ZeusWPI/ack-address
Ack address
2021-01-30 14:26:19 +01:00
redfast00
2b44309ed8
Put comments in correct order 2021-01-30 14:04:40 +01:00
redfast00
af366dffd9
Add callback for getting info 2021-01-30 13:51:43 +01:00
redfast00
e366853f11
Extract function 2020-10-22 21:16:12 +02:00
0b058cd7d0
Make CAN error pattern more recognizable 2020-10-21 21:49:35 +02:00
c63053ab7b
Fix swapped comments 2020-10-20 21:23:15 +02:00
redfast00
5d51a1bf9e
Add info phase in controller 2020-10-20 21:19:55 +02:00
redfast00
bfcdd19e9b
Implement sending controller ACKs 2020-09-11 21:57:18 +02:00
redfast00
b7fd5b404a
Add ACK address to protocol, implement in obus_can 2020-09-11 21:57:18 +02:00
redfast00
2c994f2c60
Add info phase in controller 2020-09-11 21:55:43 +02:00
bc42820ca3
Add util functions for byte (un)packing 2020-09-11 21:35:43 +02:00
redfast00
b6ef3f89f4
Change char into uint8_t 2020-09-09 23:59:25 +02:00
8367b538e1
Clean state, use infomessage data length, fix info module lib code 2020-09-09 22:01:56 +02:00
8ecc0433ed
Steady yellow light in module game state 2020-09-09 20:49:26 +02:00
e56725aced
Improve LED in module 2020-09-09 20:48:39 +02:00
redfast00
8d3e243718
Cleanup code 2020-09-09 20:41:48 +02:00
redfast00
4e745149e4
Change module loop api, add info module 2020-09-09 18:18:55 +02:00
redfast00
113b2c26ed
Fix typo in solve 2020-09-09 15:33:00 +02:00
535c628cd0
Add more payload length checks 2020-09-08 00:09:09 +02:00
Timo De Waele
9bf713b520 Added date module 2020-09-08 00:08:13 +02:00
29d018ec6a
Add blinkenlight for status 2020-09-07 18:21:51 +02:00
1c8007ff2b
Merge remote-tracking branch 'github/master' 2020-09-07 08:15:25 +02:00
250e8496d2
Add the development IDs as defined by MOANA 2020-08-31 12:56:03 +02:00
redfast00
ac2c8129a9
Add needy module, clean up code 2020-08-27 05:30:22 +02:00
redfast00
908095d572
Cleanup 2020-08-27 04:02:10 +02:00
redfast00
e5bf82352f
Different, less efficient way of checking if buffer overflowed 2020-08-27 03:29:16 +02:00
redfast00
a62562b716
Enable error interrupt 2020-08-26 23:41:00 +02:00
redfast00
54a87bb711
Change library to use callback functions, add basic hardware 2020-08-26 23:35:13 +02:00
c226cc8513
Fix reorganization 2020-08-26 21:13:43 +02:00
4fd6cc6d8f
Add module library code 2020-08-25 21:48:23 +02:00
87824c6356
Rename idempotency to count, add to strike msg 2020-08-25 21:47:58 +02:00
67c13fcdf3
Update instructions, less subdirs 2020-08-24 15:30:42 +02:00
589a0f691d
Library-ish layout 2020-08-20 21:51:33 +02:00