flandre/cmd_example.ipynb

98 lines
2.0 KiB
Plaintext
Raw Normal View History

2025-05-13 19:23:10 +08:00
{
"cells": [
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:23:10 +08:00
"cell_type": "code",
"source": "!flandre device connect",
"id": "b9a1cfa42427ea58",
2025-05-13 20:20:17 +08:00
"outputs": [],
"execution_count": null
2025-05-13 19:23:10 +08:00
},
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:23:10 +08:00
"cell_type": "code",
2025-05-16 14:50:33 +08:00
"source": "!flandre device upload fakename \"config/device/mini-64-30,U=30,M=PWI,S=(64 1501).txt\"",
2025-05-13 19:23:10 +08:00
"id": "ac406034e9609c90",
"outputs": [],
2025-05-13 20:20:17 +08:00
"execution_count": null
2025-05-13 19:23:10 +08:00
},
2025-05-16 14:50:33 +08:00
{
"metadata": {},
"cell_type": "code",
"source": "!flandre device upload fakename \"config/device/max-256-120,U=120,M=PWI,S=(256 6002).txt\"",
"id": "71eae473ab305743",
"outputs": [],
"execution_count": null
},
2025-05-13 19:23:10 +08:00
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:23:10 +08:00
"cell_type": "code",
"source": "!flandre device enable",
"id": "ab586d49c1b1ba92",
"outputs": [],
2025-05-13 20:20:17 +08:00
"execution_count": null
2025-05-13 19:23:10 +08:00
},
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:23:10 +08:00
"cell_type": "code",
"source": "!flandre device disable",
"id": "ca701d64ece107ad",
"outputs": [],
2025-05-13 20:20:17 +08:00
"execution_count": null
2025-05-13 19:23:10 +08:00
},
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:23:10 +08:00
"cell_type": "code",
"source": "!flandre device disconnect",
"id": "43b7940521fe2281",
"outputs": [],
2025-05-13 20:20:17 +08:00
"execution_count": null
2025-05-13 19:40:05 +08:00
},
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:40:05 +08:00
"cell_type": "code",
"source": "!flandre mi on c1",
"id": "bd2895e5dacbaeb8",
"outputs": [],
2025-05-13 20:20:17 +08:00
"execution_count": null
2025-05-13 19:40:05 +08:00
},
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:40:05 +08:00
"cell_type": "code",
"source": "!flandre mi off c1",
"id": "b58d3d068ddc33e7",
"outputs": [],
2025-05-13 20:20:17 +08:00
"execution_count": null
2025-05-13 19:40:05 +08:00
},
{
2025-05-13 20:20:17 +08:00
"metadata": {},
2025-05-13 19:40:05 +08:00
"cell_type": "code",
"source": "!flandre mi status c1",
"id": "11a05cd3e0992fd9",
2025-05-13 20:20:17 +08:00
"outputs": [],
"execution_count": null
2025-05-13 19:23:10 +08:00
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}