Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

C51: Syntex error near(c141) error (3 Replies)

$
0
0
I am using At89x52 microcontroller in the solar tracker. I use the ADC MCP3208 to connect the two ldr and convert it into digital signal by ADC MCP 3208. But,it shows syntex error in code. Help me with this #include<at89x52.h> #include<stdio.h> #define ADC_CS=P1^5; #define ADC_ClK P1^2; #define ADC_MOSI=P1^4; #define ADC_MISO=P1^3; #define p1 sbit ADC_CLK = p1^2; sbit ADC_MISO = P1^3; sbit ADC_MOSI = P1^4; sbit ADC_CS

Viewing all articles
Browse latest Browse all 3049

Trending Articles