> >In the "Building" group of the project's proprieties there are two=20 > >check-boxes "Execute this line before build" and "Execute this line=20 > >after build" with associated edit-boxes for typing the commands.=20 > >Cheers, Isaac Em 29/05/2018 18:43, >=20 > Right, as I thought I mentioned, but 'after build' ends before=20 > 'program device' > begins so that doesn't work. What programmer are you using? If you can do programming from command line= =20 then maybe you could try putting that and your I/O change command in a batc= h file=20 and invoke with "Execute this line after build". --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .