https://github.com/nimacpp/rubyino
Translate ruby to arduino
https://github.com/nimacpp/rubyino
arduino ino nimacpp rb ruby rubyino teranslate
Last synced: 7 months ago
JSON representation
Translate ruby to arduino
- Host: GitHub
- URL: https://github.com/nimacpp/rubyino
- Owner: nimacpp
- Created: 2022-05-20T06:05:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-20T10:08:38.000Z (about 3 years ago)
- Last Synced: 2024-12-16T06:37:41.301Z (7 months ago)
- Topics: arduino, ino, nimacpp, rb, ruby, rubyino, teranslate
- Language: Ruby
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rubyino
Translate ruby to arduino
## install with gem
``` gem install rubyino ```### or
```
git clone https://github.com/nimacpp/Rubyino.git
cd Rubyino
bundle install
```
# use Rubyino
## start use
``` rb = Rubyino.new("namefile") ```
## for print
``` rb.puts "hello world" #=> Keyboard.print("hello world"); ```
## for delay
``` rb.delay 500 #=> delay(500); ```
## for translate
``` rb.ter # for give output ```