| 12345678910111213 |
- param(
- [string]$Port = "COM5",
- [int]$Baud = 921600
- )
- Set-StrictMode -Version Latest
- $ErrorActionPreference = "Stop"
- $root = Split-Path -Parent $MyInvocation.MyCommand.Path
- & powershell.exe -NoProfile -ExecutionPolicy Bypass -File (Join-Path $root "SEND_HEX.ps1") `
- -Port $Port `
- -Baud $Baud `
- -Hex "A55A02040500000000000000000426000000C4AE"
- exit $LASTEXITCODE
|