Android Developers1.32 млн
Опубликовано 22 декабря 2017, 22:12
This is a video of our Android Things sample sample-simpleui
This utility shows on the attached display Android Switch widgets for each of the GPIO pins exported by the board. When you click or tap on the switch, the GPIO active status switch from HIGH to LOW according to the widget state. You can attach LEDs or other digital output peripheral to your GPIO pins and toggle them on and off without changing a single line of code (if you connect LEDs: make sure you add 470 ohms current-limiting resistors in series to avoid damaging them).
You can download the source code here: goo.gl/wWr2VT
Android Things is provided by Google and enables developers to build their own production Internet of Things devices and maintain them at scale. Learn more about the Android Things SDK at developer.android.com/things and join our community at g.co/iotdev.
Watch more samples for Android Things here: goo.gl/tjYXHF
Subscribe to the Android Developers channel here: goo.gl/vLYDU
This utility shows on the attached display Android Switch widgets for each of the GPIO pins exported by the board. When you click or tap on the switch, the GPIO active status switch from HIGH to LOW according to the widget state. You can attach LEDs or other digital output peripheral to your GPIO pins and toggle them on and off without changing a single line of code (if you connect LEDs: make sure you add 470 ohms current-limiting resistors in series to avoid damaging them).
You can download the source code here: goo.gl/wWr2VT
Android Things is provided by Google and enables developers to build their own production Internet of Things devices and maintain them at scale. Learn more about the Android Things SDK at developer.android.com/things and join our community at g.co/iotdev.
Watch more samples for Android Things here: goo.gl/tjYXHF
Subscribe to the Android Developers channel here: goo.gl/vLYDU
Свежие видео
Случайные видео