PR8-b, need help [Urgent]

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

Re: PR8-b, need help [Urgent]

Postby shahrul » Thu Nov 25, 2010 1:24 am

Noobie WROTE:what about something like this:

send_cmd(0x2E,0x00,0x10,0x00);


what is 0x2E? are they address or?
how do we noe what 0X2E do ?

Where you see this command? Is that send command to LCD, or send UART?

0x2E is 1 byte data, value in hexadecimal.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: PR8-b, need help [Urgent]

Postby yonghui » Thu Nov 25, 2010 10:05 pm

send_cmd(0x2E,0x00,0x10,0x00);


refer to the function to see what the function is doing.

the send_cmd is the function name

0x2E,0x00,0x10,0x00 are the parameters sent to the function.
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Previous

Return to DIY Project Set

Who is online

Users browsing this forum: No registered users and 11 guests

cron