Skip to content

Commit

Permalink
Enhance hello demo for C
Browse files Browse the repository at this point in the history
  • Loading branch information
mesheets committed Jul 23, 2024
1 parent ce3806e commit e8ff680
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions demo/c/hello-C.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ int main(int argc, char **argv) {
sleep(1);

// Use different methods and display the same message upside down
cputc_native_user(CHAR_F, CHAR_L, CHAR_I, CHAR_P);
cputc_native_5(CHAR_DASH);
sleep(1);
cls();
sleep(1);

cputc_hex_4(0x00);
cputc_native_3(CHAR_PARALLEL);
cputc_hex(0x03, 2);
Expand Down

0 comments on commit e8ff680

Please sign in to comment.