Duet 3 SBC : C# Program
-
Hi everybody,
In a other thread I asked for a way to start a fan on the Duet when the SBC is too hot.
I received al the help I needed, thanks again.I am a bit low on free fan connectors, so I decided to run one only fan from the PI when the Duet or the PI are too hot. This works well to with a bash script.
As I am prety good in C#, I want to try an other way to do it.
Now here are my questions :
- I read somewhere that the Duet program on the PI is writen in C#. If it's true , does it use Mono ?
- How can I send GCODE to the Duet from c# ?
- Are there any libraries that I can use tu get data from the Duet without GCODE ? If yes where and how can I access them ?
Thanks
Juan -
Have you seen these two API's?
One is written in golang and the other is written in python.
https://github.com/Duet3D/DSF-APIs -
if you look at the DSF sources for the CodeConsole program it would probably answer the question of how to do it in C#
as for mono, no, i think it uses dotnet core for linux; you'll find more info https://github.com/Duet3D/DuetSoftwareFramework
-
@bearer Yes I found the link right after posting ( as allways )