Merge branch 'master' of https://bitbucket.org/MReenenHR/motion-controller
This commit is contained in:
commit
fee6db6e7d
@ -8,6 +8,7 @@
|
|||||||
Lightly modified by Mats van Reenen: use other SPI interface
|
Lightly modified by Mats van Reenen: use other SPI interface
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <msp430.h>
|
||||||
#include <Mfrc522.h>
|
#include <Mfrc522.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
//#include <SPI2.h>
|
//#include <SPI2.h>
|
||||||
|
|||||||
1
NFC.c
1
NFC.c
@ -1,5 +1,4 @@
|
|||||||
#include <msp430.h>
|
#include <msp430.h>
|
||||||
#include "NFC.h"
|
#include "NFC.h"
|
||||||
#include "SPI2.h"
|
|
||||||
#include "Mfrc522.h"
|
#include "Mfrc522.h"
|
||||||
|
|
||||||
|
|||||||
4
main.c
4
main.c
@ -41,8 +41,6 @@
|
|||||||
*/
|
*/
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
int v;
|
|
||||||
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
|
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
|
||||||
|
|
||||||
// set cpu op 16MHz
|
// set cpu op 16MHz
|
||||||
@ -52,7 +50,7 @@ int main(void)
|
|||||||
SPIInit();
|
SPIInit();
|
||||||
MDInit();
|
MDInit();
|
||||||
MCInit();
|
MCInit();
|
||||||
NFCInit();
|
//NFCInit();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user