Lines Matching full:printk
8 #include <zephyr/sys/printk.h>
18 printk("Winsen MH-Z19B CO2 sensor application\n"); in main()
22 printk("sensor: device not found.\n"); in main()
26 printk("Configuring sensor - "); in main()
31 printk("failed to set range to %d\n", val.val1); in main()
38 printk("failed to set ABC to %d\n", val.val1); in main()
42 printk("OK\n"); in main()
44 printk("Reading configurations from sensor:\n"); in main()
48 printk("failed to get range\n"); in main()
52 printk("Sensor range is set to %dppm\n", val.val1); in main()
56 printk("failed to get ABC\n"); in main()
60 printk("Sensor ABC is %s\n", val.val1 == 1 ? "enabled" : "disabled"); in main()
64 printk("sensor: sample fetch fail.\n"); in main()
69 printk("sensor: channel get fail.\n"); in main()
73 printk("sensor: co2 reading: %d\n", val.val1); in main()