Ok the internal code above complies now, but I do I use these new dosing pump functions?
Also how do I add code for the third dosing pump?
How does the old intenal memory code:
InternalMemory.DP1RepeatInterval_write( 360 );
InternalMemory.DP1Timer_write( 8 );
InternalMemory.DP2RepeatInterval_write( 360 );
InternalMemory.DP2Timer_write( 8 );
translate into teh new internal memory code:
InternalMemory.DP1OnHour_write(360);
InternalMemory.DP1OnMinute_write(8);
InternalMemory.DP2OnHour_write(360);
InternalMemory.DP2OnMinute_write(8);
InternalMemory.DP1Timer_write(4);
InternalMemory.DP2Timer_write(4);
InternalMemory.DP1RepeatInterval_write(60);
InternalMemory.DP2RepeatInterval_write(60);
Error when compiling InitialInternalMemory
Re: Error when compiling InitialInternalMemory
They are the same thing...
For the 3rd doser, you can use this:
For the 3rd doser, you can use this:
Code: Select all
InternalMemory.DP3Timer_write(4);
InternalMemory.DP3RepeatInterval_write(60);
Roberto.
Re: Error when compiling InitialInternalMemory
So do I just ignore the dpon hour and minute?
Re: Error when compiling InitialInternalMemory
Yeah, those memory locations are only used for a single dose schedule.
Roberto.