Hi!
I currently don't have an wifi expansion (broken, waiting for new one). If i want to write default values for lets say the DCpump memory settings, how would i do that?
In the end I'm looking for to program a custom menu that lets me change the DCpump modes and speeds directly in the RA menu
Thanks
/Jim
Default memory values
Re: Default memory values
You have to connect your controller to your computer like you would to program it. Once it's connected, you need to open up the Serial monitor and then send the commands to the controller just like the apps do via the wifi interface.Jim_J wrote:Hi!
I currently don't have an wifi expansion (broken, waiting for new one). If i want to write default values for lets say the DCpump memory settings, how would i do that?
In the end I'm looking for to program a custom menu that lets me change the DCpump modes and speeds directly in the RA menu
Thanks
/Jim
You will issue the commands:
Code: Select all
// mode
GET /mb337,VALUE
// speed
GET /mb338,VALUE
// duration
GET /mb339,VALUE
[code]
where value is the appropriate value. i forget what the values need to be. also note, you MUST include an extra space after the value, otherwise the command is not processed.
Re: Default memory values
Great, thanks! Very useful
Whats the difference between mbx,y and mix,y?
Is there any list of all different memory allocations somewhere?
Whats the difference between mbx,y and mix,y?
Is there any list of all different memory allocations somewhere?
Re: Default memory values
mbx,y is for byte based locationsJim_J wrote:Great, thanks! Very useful
Whats the difference between mbx,y and mix,y?
Is there any list of all different memory allocations somewhere?
mix,y is for int based locations.
the bytes are for locations that only require a value from 0-255, such as on / off hours, etc.
the ints are for locations that need a value from 0-32768, such as feeding timer, etc.
the master list of the memory locations is stored in the Globals/Globals.h file. You will need to scroll down the file to locate the define statements. you can just do a search for VarsStart and that should take you to it. the memory locations all start with either Mem_B_ or Mem_I_ depending on the value that is stored at the location.
Re: Default memory values
Thank you so much binder!
So this means that Mem_B holds a byte while Mem_I holds an int? think i start to get a grip about this now
So this means that Mem_B holds a byte while Mem_I holds an int? think i start to get a grip about this now
Re: Default memory values
Yep, you are correct.Jim_J wrote:Thank you so much binder!
So this means that Mem_B holds a byte while Mem_I holds an int? think i start to get a grip about this now