##''cycle_complete'' FUNCTION IS BEING EXECUTED####''bring_back_to_norm'' FUNCTION IS BEING EXECUTED####''initial_fill'' FUNCTION IS BEING EXECUTED####''regular_fill'' FUNCTION IS BEING EXECUTED####''evacuate'' FUNCTION IS BEING EXECUTED##error in LOOP function: cannot have lower_level=LOW and upper_level=HIGHraising water level in ''initial_fill''ps_reading was detected in ''initial_fill'' functionwater level was brought to lower level in ''initial_fill''raising water level and filling chamber in ''regular_fill''ps_reading was detected in ''regular_fill'' functionwater level was brought to upper level in ''regular_fill''lowering water level for a specified delay time or until hit lower level in ''evacuate''erial.print ("time elapsed in sec, counter i=ps_reading was detected in ''evacuate'' functionerial.print ("water level was brought to medium level, after delay in ''evacuate'' #Total evacuation time is (sec):unexpected result: both or one of ul_reading and ol_reading show(s) LOW in ''bring_back_to_norm'' functionlowering water level in ''bring_back_to_norm''ps_reading was detected in ''bring_back_to_norm'' functionwater level was brought to norm in ''bring_back_to_norm''erial.print ("check for pressure switch was run 10 times.#The number of closed contact reads is as follows (out of 10):CYCLE COMPLETE: pressure switch is activated #more than 8/10 readings supported this result ##CYCLE FAULT: pressure switch reads floating result #less than 8/10 readings were detected ##Activating ''final_drain'' function#Activating ''chamber_drain'' function##Airgap and chamber were drained. Wait 3 minutes or Press RESET to RESTART#unexpected result: ll_reading show(s) LOW in ''final_drain'' functionll_reading shows LOW in ''final_drain''. Water is already below lower levellowering water level to below lower level in ''final_drain''water was drained from airgap in ''final_drain''erial.println("I've been to ''chamber_drain''draining chamber in ''chamber_drain''Water was drained from chamber in ''chamber_drain''
That's 2068 bytes worth of string constants. The processor has 2048 bytes of SRAM. You are out of memory.Try wrapping all those string constants with F( "your string goes here" ). For example...[font=Courier New] Serial.println ( F( "\n\n''cycle_complete'' FUNCTION IS BEING EXECUTED\n\n" ) );[/font]
Can you please explain how you calculated number of bytes something takes
Thank you Coding Badly! That worked.
and also what the F() statement does in: Serial.println ( F( "\n\n''cycle_complete'' FUNCTION IS BEING EXECUTED\n\n" ) );
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16