This is a Kotlin version of the Android Things First Device project. This project uses the same hardware as the First Device project. The software in this project uses Kotlin instead of Java to implement the simple test IoT device. See the Android Things First Kotlin Device web site for detailed information about this project.
This project uses the combined button and LED circuit hardware configuration described in the Android Things First Device project. See that project for information on how to set-up the hardware used in this project.
- Raspberry Pi 3 Model B
- Electronic Components
- Breadboard
- Jumper wires
- LED
- Tactile Push Switch
- Resistors:
- 1 - 470 ohm
- 1 - 10K ohm
- Optional Additional Electronic Components
- GPIO Breakout Board
- Ribbon cable
- Android Things Release 1.0
- Android Studio 3.1.2
In Android Studio, click on the "Run" button or to run from the command line enter:
./gradlew installDebug
adb shell am start com.example.androidthings.myproject/.MainActivity