Search found 909 matches
- Mon May 27, 2024 10:02 pm
- Forum: User Components
- Topic: 2 Arduino I2C communication
- Replies: 4
- Views: 36
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...
- Mon May 27, 2024 9:48 pm
- Forum: User Components
- Topic: 2 Arduino I2C communication
- Replies: 4
- Views: 36
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...
- Tue May 21, 2024 2:51 pm
- Forum: Feature Requests
- Topic: 4x8x8 7219 led matrix board i2c
- Replies: 2
- Views: 67
- Sat May 18, 2024 10:24 pm
- Forum: User Components
- Topic: DF player
- Replies: 4
- Views: 743
Re: DF player
The 'new' boards are marked v0.5.1 will have to google see if they need anything different to the old..
- Sat May 18, 2024 10:03 pm
- Forum: User Components
- Topic: DF player
- Replies: 4
- Views: 743
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...
- Thu May 16, 2024 7:03 pm
- Forum: User Components
- Topic: DF player
- Replies: 4
- Views: 743
- 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: 432
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!
Cool considering the only instructions are +1, - 1, next cell, previous cell, loop and print!
Turing complete!
- 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: 432
- 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: 432
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: 432
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...