Skip to content

Commit 16f7e8d

Browse files
committed
update readme
1 parent 10a143b commit 16f7e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ If you have the vscode extension, open the command palette and run `> Deno: init
99

1010
Next, create a file called mod.ts like this:
1111

12-
Replace insert version with the version when you go [here](https://deno.land/x/tellojs@latest). (i.e. v1.0.3)
12+
Replace insert version with the version when you go [here](https://deno.land/x/tellojs@latest). (i.e. v1.1.0)
1313
```ts
1414
// mod.ts
1515
import DroneController from "https://deno.land/x/tellojs@INSERT_VERSION/mod.ts";
@@ -25,7 +25,7 @@ await drone.disconnect();
2525

2626
Run the file with `deno run -A mod.ts`
2727

28-
By default, it'll connect to the drone based on these [options](https://github.com/quick007/tellojs/blob/v1.0.2/src/defaultoptions.json). You can pass different connection ports and whatnot in JSON to the drone controller. The code itself is pretty self-explanatory- it connects to the drone, queues the takeoff command, then lands and disconnects the drone via `drone.disconnect()`.
28+
By default, it'll connect to the drone based on these [options](https://github.com/quick007/tellojs/blob/v1.1.0/src/defaultoptions.json). You can pass different connection ports and whatnot in JSON to the drone controller. The code itself is pretty self-explanatory- it connects to the drone, queues the takeoff command, then lands and disconnects the drone via `drone.disconnect()`.
2929

3030
The enqueue command is pretty important, as it ensures that commands are running once the previous command has been ran, rather than relying on time. You can even stack multiple enqueue commands, or abstract it out into a file or loop. That being said, time isn't out of the question. For example:
3131

0 commit comments

Comments
 (0)