Created
May 2, 2020 19:01
-
-
Save zkessin/4c95c560a59a0afaeb427e228e6f3cab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local http = require("socket.http") | |
function upload() | |
http.request("http://192.168.0.104:8080/xplane/pilot?23") | |
end | |
-- once per second | |
do_often("upload()") | |
upload() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment