view service/iot2/esp32_main/iot2_esp32.nim @ 1581:137ba2d6d016 0.5.0

release 0.5.0
author drewp@bigasterisk.com
date Sun, 29 Aug 2021 13:36:08 -0700
parents 17ff9322328b
children
line wrap: on
line source


# the idea is that an ESP-IDF or esphome project calls C funcs defined
# here (that compile to .c files in build/nimcache/)

echo "hello on esp"
proc add(x: int, y: int): int =
  x + y