summaryrefslogtreecommitdiff
path: root/rushs/evalexpr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rushs/evalexpr/main.c')
-rw-r--r--rushs/evalexpr/main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/rushs/evalexpr/main.c b/rushs/evalexpr/main.c
new file mode 100644
index 0000000..4062426
--- /dev/null
+++ b/rushs/evalexpr/main.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+//#include "traffic_lights/traffic_lights.h"
+unsigned char rol(unsigned char value, unsigned char roll);
+
+int main(void)
+{
+ unsigned char l1 = 0b01010101;
+ unsigned char l2 = 3;
+
+ printf("l1: %b", rol(l1, l2));
+
+ return 0;
+}