Due to me ordering the wrong parts for what I wanted, I have ended up with an Arduino and Emon tx shield. I plan to use these for my pv diverter. I have got the most suited sketch which is a multi load wired diverter. My only problem is the IO pins don't match the Emon tx layout. I am fine with altering the trigger pins for the loads, but I am not sure how to remove the pins I don't need. The emon TX shield has about 6 pins tied in with the rf function, and the sketch has about 6 tied into the diverted KWH display. I can obviously cut the pins off the shield that are attached to the rf part to solved that issue, but not sure how I remove the diverter display part from the sketch.
If I delete the pin assignment part the sketch dosen't compile.
Re: Editing of MK2 pv router sketch when using emon tx shield.
I can't help you from that description. Please look at the FAQ, where you'll find listed the sort of information we need, e.g which version of which sketch would be a good start.
Why doesn't it compile? What hints does the error message give you?