|
On 11/09/18 22:58, mngr wrote:
I have just included a 'watch' instantiated component into machinekit, along with a demo sim https://github.com/machinekit/machinekit/blob/master/src/hal/user_icomps/watch.c https://github.com/machinekit/machinekit/tree/master/configs/sim/axis/watch-demo-sim You may find it of use, in itself or as a guide, as I wrote it to get over the problem of monitoring a pin value without constantly calling halcmd and trying to parse the output. (which is what M109 in FDM does) The sim demo shows how to use it in a dummy FDM printer heater scenario, setting a pin or signal to the target value (eg. heater component) monitoring a pin value and setting an output pin and triggering a message in a pyvcp panel when it reaches a target value.
I'll leave bit twiddling on a Pi to someone else to answer :)
Looks like an old doc ref, I'll check later Probably see http://www.machinekit.io/docs/hal/instcomp_writing_a_component for a tutorial I wrote regards instcomp specifically
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. |
- [Machinekit] best way of making new hal modules mngr
- Re: [Machinekit] best way of making new hal modu... [email protected]
