mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-11 16:28:12 -04:00
Updated Component NoteBlock (markdown)
parent
743aca61ef
commit
10a6d182b5
@ -14,7 +14,7 @@ Callbacks:
|
|||||||
Example use:
|
Example use:
|
||||||
```lua
|
```lua
|
||||||
local component = require("component")
|
local component = require("component")
|
||||||
val nb = component.note_block -- get primary note block
|
local nb = component.note_block -- get primary note block
|
||||||
nb.setPitch(10)
|
nb.setPitch(10)
|
||||||
nb.trigger()
|
nb.trigger()
|
||||||
for pitch = 1, 25 do
|
for pitch = 1, 25 do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user