mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2026-10-23 06:57:36 -06:00
print syscall
This commit is contained in:
1 parent
f3c67beb00
commit
1bbd988ef7
4 files changed
+26
-1
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
use abi::display::Display;
|
||||
use abi::{display::Display, print};
|
||||
use core::panic::PanicInfo;
|
||||
use embedded_graphics::{
|
||||
Drawable,
|
||||
@@ -19,6 +19,7 @@ fn panic(_info: &PanicInfo) -> ! {
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
pub extern "C" fn _start() {
|
||||
print("Starting Calculator app");
|
||||
let mut display = Display;
|
||||
|
||||
let character_style = MonoTextStyle::new(&FONT_6X10, Rgb565::RED);
|
||||
|
||||
Reference in new issue
Block a user