Skip to content
Snippets Groups Projects
Commit be3efdeb authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

woring codegen for lm75 and sharp96 DFA

parent 32b799a0
No related branches found
Tags 1.34.1
No related merge requests found
instance: lm75
codegen:
instance: lm75
includes: ['driver/lm75.h']
parameters:
- os
......
codegen:
instance: sharp96
includes: ['driver/spi_b.h', 'driver/sharp96.h']
setup: ['spi.setup();', 'sharp96.setup();']
states:
- UNINITIALIZED
- POWERON
- POWEROFF
transition:
setup:
src: [UNINITIALIZED]
dst: POWEROFF
powerOn:
src: [POWEROFF]
dst: POWERON
powerOff:
src: [POWERON]
dst: POWEROFF
clear:
src: [POWERON]
dst: POWERON
writeLine:
src: [POWERON]
dst: POWERON
arguments:
- name: line_no
values: [0, 63, 95]
- name: data
values:
- '(unsigned char *)"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"'
- '(unsigned char *)"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"'
toggleVCOM:
src: [POWERON]
dst: POWERON
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment