Search found 910 matches

by mnfisher
Tue May 28, 2024 5:19 pm
Forum: Bug Reports
Topic: ESP32 timer interrupt problem
Replies: 3
Views: 42

Re: ESP32 timer interrupt problem

As the code stands - the wdt will cause a reboot repeatedly. Your main loop needs to have a delay in it to allow the (co-operative) multi-tasking to work (and there are at least 5 tasks running created by the RTOS) One option might be to create a separate task (with xTaskCreate) - (In pseudocode) .l...
by mnfisher
Mon May 27, 2024 10:02 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 4
Views: 69

Re: 2 Arduino I2C communication

I got this working reliably at 100kHz and 400kHz. At 1MHz it worked a while before stopping (I was surprised it worked as well as it did though) I set the slave address (arbitrarily) as 0x54 - when transmitted this is shifted left one bit (with bit 0 set to 'read' data) - So here address displays in...
by mnfisher
Mon May 27, 2024 9:48 pm
Forum: User Components
Topic: 2 Arduino I2C communication
Replies: 4
Views: 69

Re: 2 Arduino I2C communication

I created a simple demo that uses the i2c master and slave components. I have the master as an Arduino Mega and the slave as an Arduino Nano - but this should work with any combination of boards. Connect SDA, SCL and GND (a common ground is essential) I also added 10k pullups on SDA and SCL - but af...
by mnfisher
Tue May 21, 2024 2:51 pm
Forum: Feature Requests
Topic: 4x8x8 7219 led matrix board i2c
Replies: 2
Views: 80

Re: 4x8x8 7219 led matrix board i2c

Try the component at viewtopic.php?f=3&t=981&hilit=Max7219

Martin
by mnfisher
Sat May 18, 2024 10:24 pm
Forum: User Components
Topic: DF player
Replies: 4
Views: 752

Re: DF player

The 'new' boards are marked v0.5.1 will have to google see if they need anything different to the old..
by mnfisher
Sat May 18, 2024 10:03 pm
Forum: User Components
Topic: DF player
Replies: 4
Views: 752

Re: DF player

Just had a play at getting one of these to work (I had an idea for a project using one and had just got two new boards from Temu). This didn't seem to work with an Arduino - and I swapped to an esp32 (for 3.3V) and still nothing. I used the component from the above link (and a simple initialise, Pla...
by mnfisher
Thu May 16, 2024 7:03 pm
Forum: User Components
Topic: DF player
Replies: 4
Views: 752

Re: DF player

by mnfisher
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: 442

Re: Esolangs - Brainf**k. Mandelbrot set as you've never seen before..

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!
by mnfisher
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: 442

Re: Esolangs - Brainf**k. Mandelbrot set as you've never seen before..

mandel.jpg
mandel.jpg (308.95 KiB) Viewed 425 times
About 45mins!
by mnfisher
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: 442

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...