Description
I noticed at the bottom left of the tool bar arduino-create-agent--> open debug console in chrome, it has a textbox and a send button. If you enter
list
It gives a list of connected devices.
Can someone give working examples for uploading .hex files and urls for the arduino uno and arduino nano 33 ble
This seems to be the code API, but I am not really sure of board names, capitalization allowed quotes etc.
"program [portName] [board:name] [$path/to/filename/without/extension]",
"programfromurl [portName] [board:name] [urlToHexFile]"]}
So for the uno to load blink.hex from a windows file path I would assume
program COM5 uno C:\Users\[user.name]\Documents\blink.hex
Are you allowed double or single quotes for file names with spaces?
And from a url for the nano 33 ble I would guess
programfromurl COM5 nano33ble https://github.com/hpssjellis/particle-mesh-with-openthread-nrf52840-usb-bins/blob/master/sept2019/ot-cli-ftd.hex
Historically, with Nordic devices, I have not had much luck downloading .hex files from github. They tend to need to be saved in zipped folders on github then extracted on a computer and then uploaded to the device. Has anyone tried installing a .hex file from github? Would a zipped file install?
This seems to have more information, which looks like you need to link to a JSON file
https://github.com/arduino/arduino-create-agent#upload
Activity
smellai commentedon Nov 20, 2019
Hi @hpssjellis ,
did you tried the demo? see the example code in the demo:
https://github.com/arduino/arduino-create-agent-js-client/blob/master/demo/app.jsx#L200
hpssjellis commentedon Nov 20, 2019
Thanks @smellai You can close this issue. Still not really sure what the Nano 33 BLE board will be called but the MKR1000 is
board: 'arduino:samd:mkr1000',
smellai commentedon Nov 21, 2019
fqbn for Nano 33 BLE is
arduino:mbed:nano33ble
neptotech commentedon Dec 18, 2021
here is list of what to be called what - http://builder.arduino.cc/v3/boards
the below is pretty formatted code
the tag
fqbn
is what u need to usehpssjellis commentedon Dec 18, 2021
LOL, I have moved on to the Portenta but that looks interesting @neptotech
Any recent tutorials on using the arduino-create-agent ? It looks really powerful, especially from javascript.