diff --git a/README.md b/README.md index c5ec8c2..af30e0a 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,12 @@ To flash file to cc2531 : ## Using other pins all commands accept following arguments : - -c pin : change pin_DC (default 27) +```bash + -c pin : change pin_DC (default 27) -d pin : change pin_DD (default 28) -r pin : change reset pin (default 24) -m : change multiplier for time delay (default auto) - +``` the pin numbering used is that of wiringPi. Use "gpio readall" to have the layout on your pi (wPi column). example, if you want to use pins 3, 11 and 13 : @@ -79,12 +80,12 @@ and now you can read chip id, save flash content, erase flash, and write flash w You can also change default values in CCDebugger.h and recompile executables with make. ## what to try if it doesn't work? -### stop all other programs before flash. -### use the -m option to increase time delays used. Example : +1. stop all other programs before flash. +2. use the -m option to increase time delays used. Example : ```bash ./cc_write -m 300 CC2531ZNP-Pro.hex ``` -### executables are compiled on my raspbian distribition, you can try to recompile for your distribution with make. +3. executables are compiled on my raspbian distribition, you can try to recompile for your distribution with make. ## License