ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FSMTreppe_rtw.tlc 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. %implements "machineSource" "C"
  2. %function CacheMachineDefinitions(block,system) void
  3. %openfile tmpFcnBuf
  4. %closefile tmpFcnBuf
  5. %<SLibCacheCodeToFile("sf_machine_data_defn",tmpFcnBuf)>\
  6. %endfunction
  7. %function DumpMachineInitializer(block) Output
  8. %openfile tmpFcnBuf
  9. %closefile tmpFcnBuf
  10. %if !WHITE_SPACE(tmpFcnBuf)
  11. /* Machine initializer */
  12. %<tmpFcnBuf>\
  13. %endif
  14. %endfunction
  15. %function GlobalMachineInitializer(block) void
  16. %openfile tmpFcnBuf
  17. %<DumpMachineInitializer(block)>\
  18. %closefile tmpFcnBuf
  19. %return tmpFcnBuf
  20. %endfunction %% GlobalMachineInitializer
  21. %function DumpMachineTerminator(block) Output
  22. %openfile tmpFcnBuf
  23. %closefile tmpFcnBuf
  24. %if !WHITE_SPACE(tmpFcnBuf)
  25. /* Machine initializer */
  26. %<tmpFcnBuf>\
  27. %endif
  28. %endfunction
  29. %function GlobalMachineTerminator(block) void
  30. %openfile tmpFcnBuf
  31. %<DumpMachineTerminator(block)>\
  32. %closefile tmpFcnBuf
  33. %return tmpFcnBuf
  34. %endfunction %% GlobalMachineTerminator
  35. %function CacheMachineFunctions(block,system) void
  36. %openfile tmpFcnBuf
  37. %closefile tmpFcnBuf
  38. %<SLibCacheCodeToFile("sf_machine_fcn_defn",tmpFcnBuf)>
  39. %endfunction