1 /* 2 * Copyright (c) 2024 Glenn Andrews 3 * State Machine example copyright (c) Miro Samek 4 * 5 * Implementation of the statechart in Figure 2.11 of 6 * Practical UML Statecharts in C/C++, 2nd Edition by Miro Samek 7 * https://www.state-machine.com/psicc2 8 * Used with permission of the author. 9 * 10 * SPDX-License-Identifier: Apache-2.0 11 */ 12 13 #include <zephyr/kernel.h> 14 #include "hsm_psicc2_thread.h" 15 main(void)16int main(void) 17 { 18 printk("State Machine Framework Demo\n"); 19 printk("See PSiCC2 Fig 2.11 for the statechart\n"); 20 printk("https://www.state-machine.com/psicc2\n\n"); 21 hsm_psicc2_thread_run(); 22 return 0; 23 } 24