From the esp 32 to PuTTY. The flowcode compiled and then runs the brainf**k program..
Cool considering the only instructions are +1, - 1, next cell, previous cell, loop and print!
Turing complete!
Search found 903 matches
- Wed May 15, 2024 10:36 pm
- Forum: Projects - Embedded
- Topic: Esolangs - Brainf**k. Mandelbrot set as you've never seen before..
- Replies: 4
- Views: 57
- Wed May 15, 2024 9:47 pm
- Forum: Projects - Embedded
- Topic: Esolangs - Brainf**k. Mandelbrot set as you've never seen before..
- Replies: 4
- Views: 57
- Wed May 15, 2024 7:45 pm
- Forum: Projects - Embedded
- Topic: Esolangs - Brainf**k. Mandelbrot set as you've never seen before..
- Replies: 4
- Views: 57
Re: Esolangs - Brainf**k. Mandelbrot set as you've never seen before..
Changing the check on 'tim' in ExecuteBF to every 500000 loops gives a very nice speedup and still no wdt problems... and just tried 1000000 with a 50ms delay and all good too! - now up to 5000000 bf instructions before delay! Compiling optimised for performance (idf.py menuconfig) gives a little ex...
- Wed May 15, 2024 7:26 pm
- Forum: Projects - Embedded
- Topic: Esolangs - Brainf**k. Mandelbrot set as you've never seen before..
- Replies: 4
- Views: 57
Esolangs - Brainf**k. Mandelbrot set as you've never seen before..
I posted a simple Brainf**k compiler a few days ago. I had an idea for a major improvement - rather than a (rather large) jump table - I would compile the jumps into the program code. Now jumps add 4 bytes per loop rather than a fixed table of 40k :-) So - with a little fiddling I got the mandelbrot...
- Sun May 12, 2024 4:13 pm
- Forum: Bug Reports
- Topic: SR04 Ultrasonic Sensor
- Replies: 9
- Views: 211
Re: SR04 Ultrasonic Sensor
That's one good looking lab. How goes the trs-80? And where did you hire the apprentice
- Sun May 12, 2024 8:56 am
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 620
Re: IOT_Made_Easy - or not?
There's no power (easily) - it's the loft of an outbuilding. I don't like going up there - a couple of years ago the ladder 'slipped' an inch and snapped my little finger. Now I avoid ladders whenever possible :-( So the longer the battery lasts the happier I am - or maybe I should just go up and do...
- Sat May 11, 2024 9:44 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 620
Re: IOT_Made_Easy - or not?
Sounds good - I was going to power with 3x1.2V rechargeables as a test (not being able to get lithium batteries in the post is a pain) - I've currently got the board sleeping for 60minutes and seems good. I was hoping for a bit more battery life - and will need less frequent sampling (though now I h...
- Fri May 10, 2024 8:59 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 620
Re: IOT_Made_Easy - or not?
Almost a holiday - change of air AND time to enjoy a beer! Definitely something a little squiffy with the linking of components - though mostly works well. I'd like to see some hints as to what needs linking too! My temp reader seems to work nicely now up to 150 (2 minute) readings. So now just need...
- Fri May 10, 2024 7:36 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 620
Re: IOT_Made_Easy - or not?
That seemed to give the necessary final 'piece' of the IOT_MadeEasy jigsaw.. Set the data field string to "channels/CHANNEL_ID/field1" etc This worked - but only for two entries before grinding to a halt again. So back to my code - I noticed that there was a BCN (presumably beacon? (or bacon :-) )) ...
- Fri May 10, 2024 5:59 pm
- Forum: General
- Topic: IOT_Made_Easy - or not?
- Replies: 30
- Views: 620
Re: IOT_Made_Easy - or not?
Thanks - no I hadn't. I'll try it too - thanks for the guide. I'm still not sure how to use the iot_madeeasy component - so more experimenting needed
Martin
Martin