1
0
This repository has been archived on 2025-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
Anderson Luiz Alves 0464e230c1 stock 103961
2017-07-30 16:48:04 -03:00

8 lines
282 B
Bash
Executable File

#!/bin/sh
if [ ! -n "$1" ] ; then
echo "Usage: $0 <Leg(0)/HS(1)> <CS (0-3)> <CLK Speed> <Write Data (up to 4 hex concat bytes)> <length>: Transfer data over SPI"
echo "Examples: $0 0 3 0 0x80 3"
echo " $0 0 3 0 0x800000 3"
else
echo p $1 $2 $3 $4 $5 > /proc/bcmlog
fi