Hi, I've just generated my first PDE which is extremely straight forward and minimalist. (removed PWM, version info etc..). Unfortunately, when I try to compile the code I get the Sketch too big error.
Here's what it looks like (nothing was added manually) :
Ok I just managed to shrink the file size enough but surely, I must be doing something wrong. Using RAgen
I had to disable:
- Display Images
- Display LED PWM
- Version Menu
- Wavemaker Functions (ie put both my PH in "Always on")
And I only enabled Wifi as a "non standard" item. I kept the default feeding/waterchange etc modes.
I wanted to add a short function Roberto had suggested for WifiAlerts (I wanted and alert if ATO high was triggered) and could not even add that short piece of code, only a few lines. I'd definitly like to use the wavemaker function as well as that piece of code for Wifi Alerts. What if I want to add the upcoming Moonlight modules in the future ?
I see a lot of people posting very elaborate PDE files and coding various addtional functions (delay timer, invert ATO, custom alerts and settings etc) so there has to be a way to include more settings without exceeding the file limitation.
rimai wrote:Try not including date and time setup. It takes a lot of program space. You really won't be changing time unless it's daylight savings change.
Cool ! From the description it seemed fairly critical but I just saw that it dead eat up a lot of space. I'll change that right away!
I'm trying to use the code you had suggested to send wifi alert. You mentioned I had to configure the Wifi add on for it to work with the suggesed code by doing the following:
set u m 2
set d n www.reefangel.com
set i h 198.171.134.6
set i r 80
save
reboot
I've installed the TeraTerm app but when I try to connect to the Wifi module via wifi (using telnet and port 2000) the program closes immediately. If I try to do it via USB, using the proper COM port, nothing happens at all (can't type).
Through telnet, you will have problems with the timeout connection ending if idle for 1 or 3 secs.
Best is COM port. Read the manual. It gives you instructions on entering command mode, which is simply typing $$$
rimai wrote:Through telnet, you will have problems with the timeout connection ending if idle for 1 or 3 secs.
Best is COM port. Read the manual. It gives you instructions on entering command mode, which is simply typing $$$
I did try via the USB cable following the exact steps from the manual but I am not getting any info from the terminal when connecting the wifi module, only random garbage characters each time the led blinks orange. I can't type anything.
tried reinstalling the software on 2 PCs (WinXP and 7) and same result. The Wifi module was properly configured as I can get it to communication with Client Suite without any issue.
rimai wrote:What do you mean with your IP gets broadcasted?
Can you paste what it says?
Sorry Roberto, I edited my comment while you were replying. The issue was that I still had Client Suite's services running in the background pinging the module. Turned them off and all worked great.
Now the other issue has to do with Reversing the ATO command. Alexwbush on had already started a thread on this very same topic and I found a temporary "solution". If you could have a look and comment that'd be fantastic. Grazie mille Roberto!