rdm fx
This commit is contained in:
@@ -162,7 +162,7 @@ char *pr_rgbled(char *arglist, char *res, int *reslen) {
|
|||||||
return res; /* return the result pointer */
|
return res; /* return the result pointer */
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Then you can register this primitive with `nnt_regprimitive("rgb", &pr_rgbled);` in your main C code, and then, calling `#(rgb,43,67,133)` in your script will return the string `R=43, G=67, B=133` if the API succeeds.
|
Then you can register this primitive with `nnt_regprimitive("rgb", &pr_rgbled);` in your main C code, and then, calling `##(rgb,43,67,133)` in your script will return the string `R=43, G=67, B=133` if the API succeeds.
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user