This commit is contained in:
Mats van Reenen 2020-06-01 11:21:39 +02:00
parent 4a8aad0d7f
commit a57832829f

7
main.c
View File

@ -36,7 +36,7 @@
* *
* */ * */
#define TEST "nfc" #define TEST 1
const uchar STEP_PINS = BIT4 | BIT5; const uchar STEP_PINS = BIT4 | BIT5;
const uchar DIRr_PIN = BIT3; const uchar DIRr_PIN = BIT3;
@ -89,13 +89,14 @@ int main(void)
__delay_cycles(16000000); __delay_cycles(16000000);
#if TEST == "nfc" #if TEST == 1
while(1){ while(1){
NFCAvailable(); NFCAvailable();
} }
#else #endif
#if TEST == 0
for(ii=2; ii>0; ii--){ for(ii=2; ii>0; ii--){
dir(Forward); dir(Forward);