PartsLibrary is obniz.js included electrical parts software components. By using it, You can use sensors and motors without learning electrical parts. Just use prepared functions and vars.
You can find parts in library
How to use
Code in library
- TypeScript https://github.com/obniz/obniz/tree/master/src/parts
Below is LED example.