Code:unsigned char ocr = 0; unsigned char ocr1 = 0; ocr = OCR0; ocr1 =ocr/2; ocr1 *=2; if(ocr == ocr1){ //rechts } else{ //links }
Code:unsigned char ocr = 0; unsigned char ocr1 = 0; ocr = OCR0; ocr1 =ocr/2; ocr1 *=2; if(ocr == ocr1){ //rechts } else{ //links }
Lesezeichen