Problem of SKPS data

Bluetooth, XBee, RF......

Problem of SKPS data

Postby tingloong89 » Tue May 22, 2012 1:03 am

SKPS have two type of programming.

Type 1 is using Non-ASCII Mode(Microcontroller).

Type 2 is using ASCII Mode (PC).

When I am using Hyperterminal to check the SPKs status. It show the ASCII value. But the program is in Type 2 value.

//skps protocol
#define p_select 0
#define p_joyl 1
#define p_joyr 2
#define p_start 3
#define p_up 4
#define p_right 5
#define p_down 6
#define p_left 7
#define p_l2 8
#define p_r2 9
#define p_l1 10
#define p_r1 11
#define p_triangle 12
#define p_circle 13
#define p_cross 14
#define p_square 15
#define p_joy_lx 16
#define p_joy_ly 17
#define p_joy_rx 18
#define p_joy_ry 19
#define p_joy_lu 20
#define p_joy_ld 21
#define p_joy_ll 22
#define p_joy_lr 23
#define p_joy_ru 24
#define p_joy_rd 25
#define p_joy_rl 26
#define p_joy_rr 27

#define p_con_status 28
#define p_motor1 29
#define p_motor2 30

How can I change it into the Non-ASCII value?

Is it the value given depend on the device connect to the SKPS?
tingloong89
Freshie
 
Posts: 5
Joined: Tue Oct 11, 2011 11:46 am

Re: Problem of SKPS data

Postby sich » Wed May 23, 2012 5:32 pm

Can you explain what did you send to SKPS and what's the replied from SKPS? Or printscreen of your terminal program...
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 603
Joined: Tue Apr 21, 2009 2:15 pm


Return to Wireless Device

Who is online

Users browsing this forum: No registered users and 25 guests

cron