Search found 1415 matches

by mnfisher
Tue Jun 10, 2025 5:27 pm
Forum: General
Topic: Millis() arduino c++ in flowcode
Replies: 2
Views: 229

Re: Millis() arduino c++ in flowcode

In Flowcode - include the Timer component - and then can get milliseconds (etc) from when it is started.

Martin
by mnfisher
Sat Jun 07, 2025 11:15 am
Forum: General
Topic: DMX master has issues
Replies: 31
Views: 1925

Re: DMX master has issues

Just using the UART decoder at present. Just checking if sigrok will do the trick...
by mnfisher
Sat Jun 07, 2025 10:55 am
Forum: General
Topic: DMX master has issues
Replies: 31
Views: 1925

Re: DMX master has issues

While I was typing - Iain popped in with a test of the DMX component too. I don't have a way to test if it is a valid DMX signal - how doing?
by mnfisher
Sat Jun 07, 2025 10:53 am
Forum: General
Topic: DMX master has issues
Replies: 31
Views: 1925

Re: DMX master has issues

Whilst waiting for a 16F18877 to arrive in the post - I tried a different MCU. So with a PIC16F887 (which is rather a lower specced beast) - I got a simple DMX output running (I think) Here outputting 24 channels (set to 0..23) My logic analyser reads the 'start' pulse as 0. I'm using '0' as the con...
by mnfisher
Fri Jun 06, 2025 9:31 pm
Forum: General
Topic: Compilation size descrepancy between using Flowcode 9 and 10
Replies: 2
Views: 209

Re: Compilation size descrepancy between using Flowcode 9 and 10

The CAL (included code (Chip Abstraction Layer?)) and components might differ somewhat between the two versions. Although in increase in total program size seems quite a lot? 96% doesn't allow much leeway ! By looking at code using each of components you are using in isolation - it might be possible...
by mnfisher
Fri Jun 06, 2025 12:53 pm
Forum: General
Topic: DMX master has issues
Replies: 31
Views: 1925

Re: DMX master has issues

:-( How did you do the 'heartbeat' pulse - with an interrupt or in the main loop. If the UART isn't quite initialised correctly then the wait for transmission to finish - may never return. I did get output with the FC component - but that was with a PIC32 and checking the output on the oscilloscope ...
by mnfisher
Thu Jun 05, 2025 9:45 pm
Forum: Feature Requests
Topic: Suggestions for new microcontroller support
Replies: 69
Views: 220596

Re: Suggestions for new microcontroller support

I suggest the esp32_p4! I've just received one of these bad boys.. Flowcode up and running in a matter of minutes - idf.py set-target esp32p4 Then recompile and 'Hello world' is go.... Pushing that 360MHz CPU to its limits! It has quite a few 'extras' - dedicated display and camera port (Raspberry P...
by mnfisher
Wed Jun 04, 2025 2:57 pm
Forum: General
Topic: DMX master has issues
Replies: 31
Views: 1925

Re: DMX master has issues

Sadly, and the most likely outcome for a first attempt :-( - still one step forward.... I didn't add any OSCON settings - though seemed to be set at 32MHz internal oscillator - so assumed it didn't need this. Good to check though - no clock, nothing happens....
by mnfisher
Wed Jun 04, 2025 11:47 am
Forum: General
Topic: DMX master has issues
Replies: 31
Views: 1925

Re: DMX master has issues

I don't have the same chip to test on - but I pulled an example from the web and coerced it into Flowcode. Perhaps you could try this - I've set it to out on Pin C0 (and for speed it is hardcoded to this - sorry) If it outputs anything - we could perhaps look at changing this if needed! I've set it ...