Skip to main content

Examples

WebSerial repository comes with Demo and Demo AP examples.

Demo Example

Demo example demonstrates a bare minimal sketch with WebSerial integration. Use this as an reference to add WebSerial to your own code.

Demo AP Example

Similar to demo, the only difference is that in this example, your microcontroller will be in softAP mode and broadcasting its own SSID (AP). This demonstrates that internet access is not required for WebSerial and it can be used in any environment.

You can find those examples in the WebSerial repository.