Make strings dynamically generated.

This commit is contained in:
2022-01-04 22:36:00 -08:00
parent 1cd4f76f50
commit d05252045a
10 changed files with 54 additions and 52 deletions

View File

@@ -10,7 +10,7 @@
#include "time.h"
#include "common_tiles.h"
#include "penny.h"
#include "strings.h"
#include "HELLO.h"
void main() {
int16_t j;

View File

@@ -1,13 +0,0 @@
/**
* Copyright (c) 2022 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#include "strings.h"
const uint8_t STR_HELLO_DATA[] = {
0x2B,0x48,0x4F,0x4F,0x52,0x20,0x3A,0x52,0x55,0x4F,0x47,0x04,0x0A,0x2B,0x52,0x5A,
0x20,0x44,0x55,0x48,0x20,0x5C,0x52,0x58,0x20,0x57,0x52,0x47,0x44,0x5C,0x22,
};

View File

@@ -1,12 +0,0 @@
/**
* Copyright (c) 2022 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "libs.h"
#define STR_HELLO_LENGTH 31
extern const uint8_t STR_HELLO_DATA[];