Update README.md

This commit is contained in:
nopnop2002
2021-07-09 17:40:46 +09:00
parent 250f82c41e
commit 98732738cb
+2
View File
@@ -150,8 +150,10 @@ You can send any CAN-ID.
CAN-ID is specified in __decimal number__. CAN-ID is specified in __decimal number__.
``` ```
$ curl -X POST -H "Content-Type: application/json" -d '{"canid": 513, "frame": "standard", "data": [16, 17, 18]}' http://esp32-server.local:8000/api/twai/send $ curl -X POST -H "Content-Type: application/json" -d '{"canid": 513, "frame": "standard", "data": [16, 17, 18]}' http://esp32-server.local:8000/api/twai/send
twai send successfully
$ curl -X POST -H "Content-Type: application/json" -d '{"canid": 513, "frame": "extended", "data": [16, 17, 18]}' http://esp32-server.local:8000/api/twai/send $ curl -X POST -H "Content-Type: application/json" -d '{"canid": 513, "frame": "extended", "data": [16, 17, 18]}' http://esp32-server.local:8000/api/twai/send
twai send successfully
``` ```
CANBus reception using UNO. CANBus reception using UNO.