Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit 5cb52cb

Browse files
committed
more docs
1 parent 71e1918 commit 5cb52cb

File tree

5 files changed

+40
-5
lines changed

5 files changed

+40
-5
lines changed

website/docs/Dev/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 1
2+
sidebar_position: 100
33
hide_table_of_contents: true
44
---
55

website/docs/Dev/cli.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
sidebar_position: 10
3+
hide_table_of_contents: true
4+
---
5+
16
# Command Line Interface
27

38
The DeviceScript command line allows to compile and debug programs from your favorite IDE.

website/docs/Dev/installation.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
sidebar_position: 1
3+
hide_table_of_contents: true
4+
---
5+
# Installation
6+
7+
DeviceScript has been designed to gradual adoption. From editing scripts online in the docs, to building customized embedded firmware images.
8+
This section will get you started at the level of the stack you're looking for.
9+
10+
## Try DeviceScript
11+
12+
You do not need hardware or install any tools to try out DeviceScript. Try editing this sandbox!
13+
14+
```ts
15+
every(1, () => {
16+
console.log(`hello`)
17+
})
18+
```
19+
20+
You can edit it directly and press `Run` to load it in the DeviceScript simulator in the documentation.
21+
You can also click on `Fork` and open the sample in CodeSandbox.
22+
23+
## Try DeviceScript locally
24+
25+
Install the [DeviceScript command line](./cli.md) and use your favorite TypeScript IDE to write your scripts.

website/docs/getting-started/pico-pressure-button.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
In this guide, you'll use a Raspberry Pi Pico and a pressure sensor to create a mouse button actionable with the mouse.
44

5-
:::tip
6-
Don't worry about the necessary hardware yet, you can use DeviceScript simulator get started without it.
7-
:::
5+
## Try DeviceScript
6+
7+
You do not need hardware or install any tools to try out DeviceScript. Try editing this sandbox and press `Run`!
8+
9+
```ts
10+
every(1, () => {
11+
console.log(`hello`)
12+
})
13+
```
814

915
## Roles
1016

website/docs/intro.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ environments (VM itself compiles to 10kB of code, with the floating point librar
2323
Most code examples can be loaded in the side-editor by clicking the `Run` button; or in other cloud-based virtual machine by hovering on the source and clicking on the apprioriate button.
2424

2525
```ts
26-
console.log(`click run to load this program in a DeviceScript simulator`)
2726
every(1, () => {
2827
console.log(`hello`)
2928
})

0 commit comments

Comments
 (0)