RP11 programing code question

LED Blinking, Walking with Cytron Servo, Displaying RFID, Multi-function Mobile Robot......

RP11 programing code question

Postby lihker » Fri Nov 05, 2010 4:19 am

can somebody explain to me this code tq

send_char(0b11011111);

come from
//sensor B
ADCON0=CHANNEL1; //CHANNEL0=0b10000001

lcd_goto(28);

read_adc();

temp=read_temp();
dis_num(temp/10);
send_char('.');
dis_num(temp%10);
send_char(0b11011111);
send_char('C');
send_char(' ');
send_char(' ');

tempB=temp;
lihker
Greenhorn
 
Posts: 3
Joined: Fri Nov 05, 2010 4:02 am

Re: RP11 programing code question

Postby shiyan » Sat Nov 06, 2010 8:34 am

Where did you get those code?

Basically, it set the ADC channel to ready, configure the cursor of LCD to be at preset location, display the result. I think this:
send_char(0b11011111);

Should be the symbol of "Degree"....

If no mistake, that is the task of this routine.
User avatar
shiyan
Amateur
 
Posts: 189
Joined: Wed Jun 09, 2010 10:59 am


Return to DIY Project Set

Who is online

Users browsing this forum: No registered users and 15 guests

cron