current position:Home>Car interaction code in Android studio

Car interaction code in Android studio

2022-02-02 23:02:05 CSDN Q & A

img


What function does this code realize




Refer to the answer 1:

Assign a value to a variable , among :
MAJOR assignment 0x02;
FIRST assignment sp_n It's low 8 position , And turn to byte type
SECOND assignment en_n It's low 8 position , And turn to byte type
THRID assignment en_n Abandon low 8 Turn to after bit byte type




Refer to the answer 2:



Refer to the answer 3:

adopt send() Function to send instructions , Let the car go , Instructions for :
MAJOR,FIRST, SECOND,THIRD Assignment




Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022302032477.html

Random recommended