All content on EnviroDIY is licensed as Creative Commons Attribution-ShareAlike 4.0. Hardware designs on EnviroDIY are released under the CERN Open Hardware License 1.2. Alternative licenses are available. Learn more
All content on EnviroDIY is licensed as Creative Commons Attribution-ShareAlike 4.0. Hardware designs on EnviroDIY are released under the CERN Open Hardware License 1.2. Alternative licenses are available. Learn more
Community Activity See all activity
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
<quote>”Before I go digging through the code, I’m wondering why code would compile and run fine one week, then be “structured to not compile” the next. Do you have any idea why this might happen?” </quote>
So a perspective – its your code, and its your environment – so i have no idea, just throwing out a suggestion based on the data of compi…[Read more]
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
Before I go digging through the code, I’m wondering why code would compile and run fine one week, then be “structured to not compile” the next. Do you have any idea why this might happen?
Here’s the full sketch, based off of Menu_a_la_carte:
[Read more]
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
@tahicksonstthomas-edu – like as you say thats interesting, all of investigations start with that.
Probably post the code – though it looks like it is structured to not compile – eyeball the code flow from first call to setup() and subsequent calls to main() and is your section of the code isolated.
SC typically shows colour coded syntax – t…[Read more]
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
Well, that’s interesting. After running a compile check, I get:
RAM: [ ] 0.1% (used 9 bytes from 16384 bytes)
Flash: [ ] 0.4% (used 510 bytes from 130048 bytes)
And when I do the same for “Blink” I get:
RAM: [ ] 1.6% (used 266 bytes from 16384 bytes)
Flash: [ ] 1.7% (used 2252 bytes from 130048 bytes)
So, for some reason, even though it looks…[Read more]
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
I wonder what is the size of the code ?
From the bottom of the PIO when I build I have
RAM: [===== ] 52.2% (used 8551 bytes from 16384 bytes)
Flash: [========= ] 87.4% (used 113628 bytes from 130048 bytes)
Sedhead replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
Thanks for the reply, Neil. I tried using “upload_port” in platformio.ini and there was no change. Also restarted VSC a couple of times. Tried connecting with the Mayfly off and then on. The weird thing is that I can get simple code to load and work. But this Mayfly code, which is significantly more complex and lengthy, will compile fine, worked…[Read more]
neilh20 replied to the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
@tahicksonstthomas-edu – just wondering if you tried rebooting, or tried it again.
VSC and also Platfromio regularly do updates – and sometimes just exiting and starting VSC again seems to work for me.
More recently for some reason two comport have appeared with a BlueTooth access.
You can also check what the USB enumerates as a COM port and…[Read more]
neilh20 replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 1 years, 2 months ago
@nick Apparently try it with out clicking the “notify option” –
https://github.com/ODM2/ODM2DataSharingPortal/issues/668
not clear if the bug fix has gone live, or will be fixed on the next pass
Sedhead started the topic Mayfly sketch compiles, seems to upload, but doesn't in the forum Mayfly Data Logger 1 years, 2 months ago
I am using VSCode and Platformio to upload sketches to my Mayfly boards. The sketches compiled and uploaded fine two weeks ago. Today, when I went to deploy the sensors, the code compiled fine and it even looked like it uploaded fine, except that the upload was way too fast. Usually there is a bit of a lag as the code is being written to the…[Read more]
neilh20 replied to the topic Registering a new site on MMW in the forum Monitor My Watershed 1 years, 2 months ago
@nick – I tried https://monitormywatershed.org/sites/TWItest/ and it doesn’t exist
What is valuable for your “error report” is the error that is occurring when you submit to MMW. That would be the screen shot you need.
Perhaps there is some field that needs to be filled in that is missing
I usually use a naming convention, as it has to be…[Read more]