Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Mar 26, 2024
1 parent 9670b03 commit 0d96bf7
Show file tree
Hide file tree
Showing 17 changed files with 68 additions and 52 deletions.
16 changes: 16 additions & 0 deletions _data/sidebars/picoruby_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,22 @@ entries:
url: "/PicoRubyVM.html"
output: web pdf
type: homepage
- title: Prism
url: "/Prism.html"
output: web pdf
type: homepage
- title: Prism::Location
url: "/Prism_Location.html"
output: web pdf
type: homepage
- title: Prism::ParseError
url: "/Prism_ParseError.html"
output: web pdf
type: homepage
- title: Prism::ParseResult
url: "/Prism_ParseResult.html"
output: web pdf
type: homepage
- title: RTD
url: "/RTD.html"
output: web pdf
Expand Down
4 changes: 2 additions & 2 deletions pages/rbs_doc/BLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ instance.gap_local_bd_addr() -> String
### get_write_value

```ruby
instance.get_write_value(Integer) -> (String|nil)
instance.get_write_value(Integer handle) -> (String|nil)
```
### hci_power_control

Expand All @@ -67,7 +67,7 @@ instance.packet_callback(String) -> void
### set_read_value

```ruby
instance.set_read_value(Integer, String) -> void
instance.set_read_value(Integer handle, String value) -> void
```
### start

Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/CYW43.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ folder: rbs_doc
### init

```ruby
CYW43.init(?String, ?force: bool) -> void
CYW43.init(?String country, ?force: bool) -> void
```
### initialized?

Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/CYW43_GPIO.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ folder: rbs_doc
### new

```ruby
CYW43::GPIO.new(Integer) -> void
CYW43::GPIO.new(Integer pin) -> void
```
## Instance methods
### read
Expand Down
6 changes: 3 additions & 3 deletions pages/rbs_doc/ConsumerKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ folder: rbs_doc
### keycode

```ruby
ConsumerKey.keycode(Symbol) -> Integer?
ConsumerKey.keycode(Symbol sym) -> Integer?
```
### keycode_from_mapcode

```ruby
ConsumerKey.keycode_from_mapcode(Integer) -> Integer
ConsumerKey.keycode_from_mapcode(Integer mapcode) -> Integer
```
### viacode_from_mapcode

```ruby
ConsumerKey.viacode_from_mapcode(Integer) -> Integer?
ConsumerKey.viacode_from_mapcode(Integer mapcode) -> Integer?
```
2 changes: 1 addition & 1 deletion pages/rbs_doc/IOError.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ folder: rbs_doc
### peripheral_error

```ruby
IOError.peripheral_error(Integer, ?String) -> Integer
IOError.peripheral_error(Integer code, ?String name) -> Integer
```
22 changes: 11 additions & 11 deletions pages/rbs_doc/Keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Keyboard.wait_keymap() -> void
### action_on_release

```ruby
instance.action_on_release(Integer | Array[Integer] | Proc | nil) -> void
instance.action_on_release(Integer | Array[Integer] | Proc | nil mode_key) -> void
```
### add_layer

Expand Down Expand Up @@ -135,7 +135,7 @@ instance.calculate_col_position(Integer col_index) -> Integer
### convert_composite_keys

```ruby
instance.convert_composite_keys(Array[Symbol]) -> Array[Integer]
instance.convert_composite_keys(Array[Symbol] keys) -> Array[Integer]
```
### define_composite_key

Expand All @@ -150,7 +150,7 @@ instance.define_mode_key(Symbol key_name, [Symbol | Array[Symbol] | Proc | nil,
### delete_mode_keys

```ruby
instance.delete_mode_keys(Symbol) -> void
instance.delete_mode_keys(Symbol layer_name) -> void
```
### entire_cols_size

Expand All @@ -170,7 +170,7 @@ instance.find_keycode_index(Symbol key) -> (Integer | Symbol)
### get_layer

```ruby
instance.get_layer(Symbol | nil, Integer) -> ( Array[Array[Integer | Symbol | Proc]] | nil )
instance.get_layer(Symbol | nil name, Integer num) -> ( Array[Array[Integer | Symbol | Proc]] | nil )
```
### init_direct_pins

Expand Down Expand Up @@ -210,7 +210,7 @@ instance.key_pressed?() -> bool
### keys_include?

```ruby
instance.keys_include?(Symbol) -> bool
instance.keys_include?(Symbol key) -> bool
```
### lock_layer

Expand Down Expand Up @@ -250,7 +250,7 @@ instance.raise_layer-> void
### resolve_key_alias

```ruby
instance.resolve_key_alias(Symbol) -> Symbol
instance.resolve_key_alias(Symbol sym) -> Symbol
```
### ruby

Expand Down Expand Up @@ -280,17 +280,17 @@ instance.set_anchor(anchor_type val) -> void
### set_debounce

```ruby
instance.set_debounce(debounce_type) -> void
instance.set_debounce(debounce_type type) -> void
```
### set_debounce_threshold

```ruby
instance.set_debounce_threshold(Integer) -> void
instance.set_debounce_threshold(Integer val) -> void
```
### set_scan_mode

```ruby
instance.set_scan_mode(scan_mode_type val) -> void
instance.set_scan_mode(scan_mode_type mode) -> void
```
### signal_partner

Expand Down Expand Up @@ -350,12 +350,12 @@ instance.unlock_layer() -> void
### via=

```ruby
instance.via=(bool) -> void
instance.via=(bool val) -> void
```
### via_layer_count=

```ruby
instance.via_layer_count=(Integer) -> void
instance.via_layer_count=(Integer count) -> void
```
## Attr accessors
### split (accessor)
Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/MML.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ MML.new() -> instance
### compile

```ruby
instance.compile(String) { (Float, Integer) -> bool } -> Integer
instance.compile(String str) { (Float, Integer) -> bool } -> Integer
```
4 changes: 2 additions & 2 deletions pages/rbs_doc/Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ instance.to_s() -> String
### load

```ruby
instance.load(String) -> bool
instance.load(String path) -> bool
```
### require

```ruby
instance.require(String) -> bool
instance.require(String name) -> bool
```
16 changes: 8 additions & 8 deletions pages/rbs_doc/RGB.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ RGB.new(Integer pin, Integer underglow_size, Integer backlight_size, ?bool is_rg
### add_pixel

```ruby
instance.add_pixel(Integer, Integer) -> void
instance.add_pixel(Integer x, Integer y) -> void
```
### effect=

```ruby
instance.effect=(rgb_effect_t) -> void
instance.effect=(rgb_effect_t name) -> void
```
### fifo_push

Expand All @@ -53,7 +53,7 @@ instance.hsv2rgb(Float | Integer h, Integer s, Float | Integer v) -> Integer
### hue=

```ruby
instance.hue=(Integer) -> void
instance.hue=(Integer val) -> void
```
### init_values

Expand All @@ -63,12 +63,12 @@ instance.init_values() -> void
### invoke_anchor

```ruby
instance.invoke_anchor(Symbol | nil) -> Integer
instance.invoke_anchor(Symbol | nil key) -> Integer
```
### invoke_partner

```ruby
instance.invoke_partner(Integer) -> void
instance.invoke_partner(Integer message) -> void
```
### ping?

Expand All @@ -88,7 +88,7 @@ instance.resume() -> void
### saturation=

```ruby
instance.saturation=(Integer) -> void
instance.saturation=(Integer val) -> void
```
### show

Expand All @@ -98,7 +98,7 @@ instance.show-> void
### speed=

```ruby
instance.speed=(Integer) -> void
instance.speed=(Integer val) -> void
```
### thunder

Expand All @@ -123,7 +123,7 @@ instance.turn_on() -> void
### value=

```ruby
instance.value=(Integer | Float) -> void
instance.value=(Integer | Float val) -> void
```
### ws2812_add_matrix_pixel_at

Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/RotaryEncoder.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RotaryEncoder.new(Integer pin_a, Integer pin_b) -> instance
### call_proc_if

```ruby
instance.call_proc_if(Integer) -> void
instance.call_proc_if(Integer keycode) -> void
```
### ccw

Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/SQLite3_ResultSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ folder: rbs_doc
### new

```ruby
SQLite3::ResultSet.new(SQLite3::Database, SQLite3::Statement) -> instance
SQLite3::ResultSet.new(SQLite3::Database db, SQLite3::Statement stmt) -> instance
```
## Instance methods
### each
Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/Sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ instance.interrupt() -> void
### load_file

```ruby
instance.load_file(String, ?signal: bool) -> void
instance.load_file(String path, ?signal: bool) -> void
```
### result

Expand Down
6 changes: 3 additions & 3 deletions pages/rbs_doc/Sounder.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ folder: rbs_doc
### new

```ruby
Sounder.new(Integer) -> instance
Sounder.new(Integer pin) -> instance
```
## Instance methods
### add_note
Expand All @@ -32,7 +32,7 @@ instance.clear_song() -> void
### compile

```ruby
instance.compile(*String | Symbol) -> void
instance.compile(*String | Symbol measures) -> void
```
### lock

Expand All @@ -42,7 +42,7 @@ instance.lock() -> void
### play

```ruby
instance.play(*String | Symbol) -> void
instance.play(*String | Symbol measures) -> void
```
### replay

Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/Task.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ instance.join(?Integer|nil) -> (self | nil)
### name=

```ruby
instance.name=(String) -> String
instance.name=(String name) -> String
```
### suspend

Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/UART.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ instance.line_ending=(("\n"|"\r\n"|"\r") line_ending) -> void
### puts

```ruby
instance.puts(String) -> nil
instance.puts(String str) -> nil
```
### read

Expand Down
Loading

0 comments on commit 0d96bf7

Please sign in to comment.