-
Notifications
You must be signed in to change notification settings - Fork 4
Get started
1.Environment settings:
Software and platform: . Microsoft Windows and Mac OS . Android Studio . JDK1.8 . SmartCarEmulator . ArduinoIDE . Hivemq-ce(or any other MQTT broker)
2.Get started:
After you clone or download the whole project from our repository. Use the Android Studio to open the “JoystickTest” file and sync the “build.gradle”file.
Next, you should start the local broker(Here I use Hivemq-ce as an example)
The default MQTThost is your local-IP and the default MQTTport is 1883. You can set the MQTThost in the “MainActivity.java”.
Then, use the Arduino IDE to open the “joystickcar.ino”. And set the same host, port, USERNAME, and PASSWORD.
Open the SMCE(SmartCarEmulator) to compile “joystickcar.ino” and run the android studio “JoystickTest” project.