Skip to content

Commit

Permalink
add notes on the directpath option
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sasatani committed Aug 13, 2023
1 parent bc9370a commit 3c0e566
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions notebooks/grab_frames.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,13 @@
},
"outputs": [],
"source": [
"#For reading out SD card image file\n",
"#drive = Path('..') / 'data' / 'test.img'\n",
"#directpath = False\n",
"\n",
"#For directly reading out \n",
"drive = r\"\\\\.\\PhysicalDrive3\""
"#For directly reading out SD card. Drive number can be found with Get-PhysicalDisk command (for Windows Powershell)\n",
"drive = r\"\\\\.\\PhysicalDrive3\"\n",
"directpath = True"
]
},
{
Expand All @@ -111,7 +114,7 @@
},
"outputs": [],
"source": [
"sd = SDCard(drive=drive, layout = WireFreeSDLayout, directpath=True)\n",
"sd = SDCard(drive=drive, layout = WireFreeSDLayout, directpath=directpath)\n",
"\n",
"pprint(sd.config.dict())"
]
Expand Down

0 comments on commit 3c0e566

Please sign in to comment.