Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: TonyM on May 05, 2023, 05:35:42 AM

Title: macro runs when going through it step by step but not when running automatically
Post by: TonyM on May 05, 2023, 05:35:42 AM
it works fine when going through it wih f11 but nothing happens when running it with the green arrow on top.(the messages  i commented out do appear so i know it effectively tries to run the code. but its commented now so now they obviously don't appear).
Title: Re: macro runs when going through it step by step but not when running automatically
Post by: TonyM on May 05, 2023, 06:10:18 AM
i fixed it by inserting two delays after serial open and setting the baud rate