Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WebAssembly (wasm) compatibility #469

Draft
wants to merge 12 commits into
base: rc_3.1.0
Choose a base branch
from
Prev Previous commit
Next Next commit
Remove the main from the wasm example
nicolas-rabault committed Feb 22, 2024
commit 68358214dc1fb77b2b3b4360e449f93323e6575c
17 changes: 1 addition & 16 deletions examples/projects/browser/led/src/main.c
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
#include "luos_engine.h"
// #include "ws_network.h"
#include "led.h"

int main(void)
{
Luos_Init();
// Ws_Init();
Led_Init();
while (1)
{
Luos_Loop();
// Ws_Loop();
Led_Loop();
}
}
// This file is only used for compilation purpose, you can use the compiled packages using JS instead.