When I try to jog the X Y or Z axis this error pops up, I thought this servo period thing was the culprit. The error I get when trying to move an axis is as follows:
When starting and pressing the E-stop in the GUI I get the previous error. Then I can turn the machine on and press the X Y o Z jog buttons. But then I get that error.
I don't think the E-stop can be triggered on the pico since I don't even have it defined in my config file.
I think the outputs acting up on the Pico means that the gpio's are not yet initialized. When running a simple LED blink via MicroPython on one output the LED toggles nicely. I'm guessing the GPIO's don't get initialized properly on the board, maybe that is due to my config file?
This is what I use currently:
(Config file)
Code:
{
"Board": "PICO_ETHERNET",
"Modules":[
{
"Thread": "Base",
"Type": "Stepgen",
"Comment": "X - Joint 0 step generator",
"Joint Number": 0,
"Step Pin": "GP2",
"Direction Pin": "GP3"
},
{
"Thread": "Base",
"Type": "Stepgen",
"Comment": "Y - Joint 1 step generator",
"Joint Number": 1,
"Step Pin": "GP4",
"Direction Pin": "GP5"
},
{
"Thread": "Base",
"Type": "Stepgen",
"Comment": "Z - Joint 2 step generator",
"Joint Number": 2,
"Step Pin": "GP6",
"Direction Pin": "GP7"
}
]
}
*I've also tried using the "Type": "Blink" in the config to Toggle an LED and I didn't have any success..