Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of circle_war_ver_A_NUCLEO_ by
Diff: spi_nucleo.h
- Revision:
- 14:3403ce49a37a
- Parent:
- 8:554e3d643b2d
--- a/spi_nucleo.h Mon Apr 04 09:26:26 2016 +0000 +++ b/spi_nucleo.h Tue Apr 05 17:25:09 2016 +0000 @@ -3,7 +3,10 @@ #include <string.h> #ifndef SPI_NUCLEO_H #define SPI_NUCLEO_H - +//SPI mbed +SPISlave from_mbed(PA_7, PA_6, PA_5, PA_4); +//SPI NUCLEO +SPISlave from_gyro(PB_15, PB_14, PB_13, PB_12); //SPI mbed bool RR=0,LR=0,Xpm=0,cilinder=0,onoff=0,updown=0,Ypm=0; int speed_X,speed_Y;