#include #include #include #include "pin_io.h" void main(void) { uint32_t v = 0; uint32_t r = 0; LOG_PRINTK("hello, world\n"); for (;;) { k_sleep(K_MSEC(1000)); *adc_conv[0] = v; v = !v; r = *adc_sdo[0]; LOG_PRINTK("out: %d; in: %d\n", v, r); } }