summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-11-02 23:14:38 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-11-02 23:14:38 +0100
commitae792d1aca94749dceb9f843ae8bc8dfc3b9dfdd (patch)
treef3b37a6390df75c6d8fb08999537e1508f40d975 /src
parentcb2e1564ec96ecea4ec08f332542415ca5a47a31 (diff)
add mirrored version of pixeloperator font
Diffstat (limited to 'src')
-rw-r--r--src/app/pervasive-aurora-mb-test/main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/pervasive-aurora-mb-test/main.cc b/src/app/pervasive-aurora-mb-test/main.cc
index 8880442..254f2c5 100644
--- a/src/app/pervasive-aurora-mb-test/main.cc
+++ b/src/app/pervasive-aurora-mb-test/main.cc
@@ -8,7 +8,7 @@
#include "driver/stdout.h"
#include "driver/pervasive_aurora_mb.h"
#include "object/framebuffer.h"
-#include "lib/pixelfont/pixeloperator.h"
+#include "lib/pixelfont/pixeloperator_mirrored.h"
__attribute__ ((section(".text"))) unsigned char lynx[12 * 96] = {
@@ -114,7 +114,7 @@ __attribute__ ((section(".text"))) unsigned char lynx[12 * 96] = {
void loop(void)
{
static unsigned int i = 0;
- fb << "i = " << i++ << " " << endl;
+ fb << "i = " << i++ << " ";
pervasiveAuroraMb.powerOn();
pervasiveAuroraMb.initialize();
pervasiveAuroraMb.sendImage((unsigned char*)fb.data);
@@ -129,7 +129,7 @@ int main(void)
spi.setup();
pervasiveAuroraMb.setup();
- fb.setFont(pixeloperator);
+ fb.setFont(pixeloperator_mirrored);
fb.clear();
fb.drawAt(200, 300, 96, 96, lynx);
fb << "Hello, World!" << endl << endl;;