STDOUT and STDIN for embedded system
It is necessary to prepare STDOUT._putc and STDIN._getc for target device.
- add conf.gem line to
build_config.rb
MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :git => 'https://github.com/mimaki/mruby-stdio'
conf.gem :git => 'https://github.com/mimaki/mruby-stdio-grpeach' # _putc/_getc for target device
end
$stdout.print '=> '
$stdout.puts $stdin.gets.chomp
under the MIT License:
- see LICENSE file