~/talk

Bridge the Physical World: Kotlin/Native on Raspberry Pi

Talkat KotlinConf 2019 · 2019-12-04..12-06· [kotlin]
slides:none on file

Compiles Kotlin/Native for Raspberry Pi, cross‑compiles from macOS and runs a working rock‑paper‑scissors robot that blinks LEDs, reads buttons and drives servos via PiGPIO and an I2C PCA9685 driver; uses generated C bindings, CValuesRef and memScoped for arrays and staticCFunction for callbacks, automates build and SCP with Gradle tasks, and captures images by execing camera tools. TensorFlow C API builds mostly fail so prebuilt Raspberry Pi binaries are used; basic tensor ops load but full image inference is not completed.

AI-written summary · about

  1. 0:00BRIDGE THE PHYSICAL WORLD: KOTLIN/NATIVE ON RASPBERRY PI OIAN JIN
  2. 4:54Kotlin/Native is an LLVM based backend for the Kotlin compiler and native implementation of the Kotlin standard library. It compiles kotlin code to native binaries
  3. 10:45My Setup Macbook + Raspberry Pi 3 (Model B)
  4. 13:37Basic GPIO (General Purpose Input/Output)
  5. 19:59Deploy on Pi with Gradle SSH plugin
  6. 20:35Step 2: Button Callback (Mapping Function Pointer from C)
  7. 23:13Control Servomotors
  8. 28:33Capture Image with Pi Camera
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.