Search found 899 matches
- Mon May 06, 2024 11:21 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 529
Re: IOT_Made_Easy - or not?
I haven't tried this evening - bad day at work (no rest for the wicked?) Something not right - FC running very slowly (and lots of crashes in sim). So wrote a brainf**k compiler - for a much more frustrating language. It sort of works - just got to get around the wdt on esp32 (it is slow! - though h...
- Sun May 05, 2024 9:55 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 529
Re: IOT_Made_Easy - or not?
I've done no better either. Managed to get it running in sim - so at least not waiting on an upload every time - but no update from FC. Works AOK from Edge.
Pour me a glass too - time for some down time!
Pour me a glass too - time for some down time!
- Sun May 05, 2024 8:49 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 529
Re: IOT_Made_Easy - or not?
I posted earlier on vc about this. Sometimes second click.
- Sun May 05, 2024 7:30 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 529
Re: IOT_Made_Easy - or not?
Enjoy the wine ;) I do have some esp8266 boards around - wonder how Ben got on with adding them as a target? I was hoping for minimal power consumption here - and probably only need one reading per 24 hours. I had an experiment with two parallel (ish) conductors and using an ADC to measure across th...
- Sun May 05, 2024 6:10 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 529
Re: IOT_Made_Easy - or not?
Thanks - I did see the API keys - and maybe should just use those. The 'MadeEasy' tag took my eye though... Just tried using a 'GET' using the API string - and that doesn't work either :-( Maybe I'm not designed to be connected. - CoPilot helped :-) Now can update via Edge and a URL - not yet throug...
- Sun May 05, 2024 5:58 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 529
IOT_Made_Easy - or not?
An appeal for help with the IOT_Made_Easy component. I set up an account with thingspeak.com - and created a single channel with one data field (Field 1) (WaterLevel) This also has a channel id - which I feel comes into play somewhere? I also set up a MQTT device (LoftMonitor) Which has a long Id, p...
- Sat May 04, 2024 2:54 pm
- Forum: General
- Topic: If then in a calculation
- Replies: 2
- Views: 112
Re: If then in a calculation
One for the first is
Xyz = (Xyz +1) % 10
Which will cycle back to 0 when Xyz reaches 10 - xyz = 0..9
Xyz = (Xyz +1) % 10
Which will cycle back to 0 when Xyz reaches 10 - xyz = 0..9
- Thu May 02, 2024 8:53 pm
- Forum: Projects - Embedded
- Topic: PIC Random Nunber
- Replies: 6
- Views: 110
Re: PIC Random Nunber
The issue with Random() is that the resultant sequence will be the same on every run. Great idea from Iain to use a 'genuinely random number (possibly as a seed) - for example current time in ms or a floating pin.. You can do this with a C Block and srand(FCL_SEED); Where .seed is the value you want...
- Thu May 02, 2024 7:31 pm
- Forum: Projects - Embedded
- Topic: PIC Random Nunber
- Replies: 6
- Views: 110
Re: PIC Random Nunber
Flowcode had random() and you could use something like:
500+(random() % 3500) to generate time between 500 and 4000 then delay in ms...
Martin
500+(random() % 3500) to generate time between 500 and 4000 then delay in ms...
Martin
- Mon Apr 29, 2024 9:16 pm
- Forum: General
- Topic: Esp32 Tasks - communication and control
- Replies: 0
- Views: 147
Esp32 Tasks - communication and control
A work in progress. The esp32 makes it easy to have multiple tasks performing different functions. For example a task could update an LED display when required. There are several options to communicate data to a task - for example to change the LED colour. For example there are queues, semaphores an...