Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
moduleexample [2017/03/22 11:20]
88.4.193.55 Fix code block not showing correctly and some typos
moduleexample [2017/03/22 11:23] (current)
88.4.193.55 [What is a module] Fix typo and add bold to a word
Line 5: Line 5:
  
 In smoothie, everything is a module. ​ In smoothie, everything is a module. ​
-A module ​is basically a piece of code ( an object ), that's connected to the rest of the code only by event calls and event handlers.+A **module** ​is basically a piece of code ( an object ), that's connected to the rest of the code only by event calls and event handlers.
 The core of smoothie ( serial communication,​ motion planning, actual stepping ) is separated in modules. ​ The core of smoothie ( serial communication,​ motion planning, actual stepping ) is separated in modules. ​
 And then **you** can write modules for additional tasks, like controlling a laser, 3D printing or whatever the cool idea you have. And then **you** can write modules for additional tasks, like controlling a laser, 3D printing or whatever the cool idea you have.