Update for PNNL

This commit is contained in:
Neale Pickett 2024-09-08 14:49:56 -06:00
parent 35aeed78c4
commit 2f9d1448d8
2 changed files with 17 additions and 8 deletions

View File

@ -4,3 +4,12 @@ It runs on a [Badgy 2C](https://github.com/sqfmi/badgy).
It cycles through various badges I need at various events,
and has a tiny version of Zork in it.
There's even an easter egg in there.
Note To Self
============
The board type is "NodeMCU 1.0 (ESP-12E Module)".
Seems like you have to hold the button in and flip the switch to "on"
in order for /dev/ttyUSB0 to show up. After a few seconds it goes into
sleep mode, so you have to time it just right to get the program to upload.

View File

@ -19,25 +19,25 @@
#define len(a) (sizeof(a) / sizeof(*a))
char *badges[][4] = {
const char *badges[][4] = {
{
"Neale", "Pickett",
"Los Alamos National Laboratory",
"Cyber Fire Lead",
"",
"",
},
{
"Neale", "Pickett",
"Cybersecurity Educator",
"Los Alamos National Laboratory",
"Pacific Northwest National Lab",
},
{
"Neale", "Pickett",
"Los Alamos National Laboratory",
"Pacific Northwest National Lab",
"",
},
{
"Neale", "Pickett",
"",
"Nerd",
"",
},
NULL
@ -47,8 +47,8 @@ int badgeno = 0;
struct Room {
char *title;
char *description;
const char *title;
const char *description;
int north, west, east, south;
};