-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
54 lines (37 loc) · 982 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
include_once("php/init.php");
//Delete all libraries and make an empty sketch
if(false){
CreateSketch();
}
// add a new library
if(false){
$url = "https://github.com/MHeironimus/ArduinoJoystickLibrary";
$url = "https://github.com/schnoog/Joystick_ESP32S2";
$url = "https://github.com/schnoog/vl53l0x-arduino-mod.git";
$tmp = fAddNewLibrary($url);
}
// test a library by known ID
if(true){
$id = 59649;
$id = 59651;
$platform = 1;
//$platform = 5; //ESP32S3
//$platform = 2; //WEMOS D1 R32 - ESP32
TestLibraryByID($id, $platform );
$tmp = `cat /dev/shm/AFTAError.txt`;
print_r($tmp);
}
// test a library by known Name
if(false){
}
//CreateSketch();
//$prog_space = 0;
//$dyn_space = 0;
//CompileSketch($prog_space,$dyn_space);
//ClearAllLibraries();
//InstallLibrary("Adafruit SHT31 Library","1.1.8");
//InstallLibrary("SIKTEC_AVR_Controller","1.0.6");
//TestLibraryByID(18428);
//TestNewestLibraryByName("Better Joystick");
?>