|
@@ -4,7 +4,6 @@ using UnityEngine;
|
|
|
using UnityEngine.UI;
|
|
using UnityEngine.UI;
|
|
|
using ArduinoBluetoothAPI;
|
|
using ArduinoBluetoothAPI;
|
|
|
using DG.Tweening;
|
|
using DG.Tweening;
|
|
|
-using System.Text;
|
|
|
|
|
|
|
|
|
|
public class BluetoothShoot : MonoBehaviour
|
|
public class BluetoothShoot : MonoBehaviour
|
|
|
{
|
|
{
|
|
@@ -90,8 +89,7 @@ public class BluetoothShoot : MonoBehaviour
|
|
|
if(bFirstIn)
|
|
if(bFirstIn)
|
|
|
{
|
|
{
|
|
|
bFirstIn = false;
|
|
bFirstIn = false;
|
|
|
- string s = Encoding.ASCII.GetString(bytes);
|
|
|
|
|
- Debug.Log("value======="+s);
|
|
|
|
|
|
|
+ Log(String.Join(",", bytes));
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|