This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang bitml | |
;participants public keys | |
(participant "Alice" "0339bd7fade9167e09681d68c5fc80b72166fe55bbb84211fd12bde1d57247fbe1") | |
(participant "Bob" "034a7192e922118173906555a39f28fa1e0b65657fc7f403094da4f85701a5f809") | |
(debug-mode) | |
(contract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Keypad.h> | |
#include <Joystick.h> | |
#include <string.h> | |
const byte ROWS = 4; | |
const byte COLS = 5; | |
const short SWITCH_WIRE_OFFSET = 6; | |
const short SWITCH_OFFSET = 21; | |
char keys[ROWS][COLS] = { |