On Thu, 20 Apr 2023 at 20:05, Hans Unzner <hansunz...@gmail.com> wrote:
- The created HAL pins are inputs for some modbus commands and outputs > for some others. Maybe that could be mentioned. > I also need to add some more flexibility, as the VFD I am playing with expects a command 6 (register write) with 1 for forwards, 2 for reverse, 5 for stop,,,, So I need to make HAL_BIT work for commands 3 and 6. (probably). It also has registers as bit fields, which is a bit annoying. (ie, read with command 3 when it should be 1 or 2 to return bits.) I might have to "invent" HAL_ENUM for this. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers