That was the line I wanted to change. I've tested it and the in-not pin inversion works now.
Thanks again Andy ----- Original Message ----- From: "andy pugh" <bodge...@gmail.com> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Sent: Tuesday, July 30, 2013 1:19:06 PM Subject: Re: [Emc-users] Bug in Driver > I think I might see where the problem is, but I don’t really know for certain > how I should go about fixing it. Where would the file be that I should edit > my correction? src/hal/drivers/pcl720.comp > Then how should I compile and install it to test? sudo comp --install pcl720.comp > Last once I have it fixed, where should I share what I’ve done? email me the changes and I will push them. Or, in fact, just change the line that says pin_in_not(i) = ~pin_in(i); to pin_in_not(i) = !pin_in(i); It appears I used a bitwise not when I should have used logical. (this might have worked before, but the representation of HAL bit pins changed) if that works, I will push the fix. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users