This commit is contained in:
赵鑫 2022-09-05 15:14:34 +08:00
parent 9167e5c271
commit 966e687300

View File

@ -137,6 +137,8 @@
<button onclick="client.emit('action', {action:'showLetter', character:'A', color:[50,50,255]})">A</button>
<button
onclick="client.emit('action', {action:'showMessage', text:'Hello', color:[50,50,255], speed: 1})">Hello</button>
<button
onclick="client.emit('action', {action:'flashMessage', text:'Hello', color:[50,50,255], speed: 1})">Hello</button>
</div>
<script src="http://pi/sensehat/socket.io/socket.io.js"></script>