This is a port of the mruby/c tutorial Chapter 03 to the mbed environment.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

console.h File Reference

console.h File Reference

Go to the source code of this file.

Functions

void console_putchar (const char c)
void console_print (const char *str)
void console_printf (const char *fmt,...)

Detailed Description

  Copyright (C) 2015 Kyushu Institute of Technology.
  Copyright (C) 2015 Shimane IT Open-Innovation Center.
  This file is distributed under BSD 3-Clause License.
  

Definition in file console.h.


Function Documentation

void console_print ( const char *  str )

output string

Parameters:
strstr

Definition at line 126 of file console.c.

void console_printf ( const char *  fmt,
  ... 
)

output formatted string

Parameters:
fmtformat string.
Note:

Definition at line 138 of file console.c.

void console_putchar ( char  c )

output a character

Parameters:
ccharacter

Definition at line 115 of file console.c.