Search found 1676 matches

by mnfisher
Fri Feb 13, 2026 10:30 am
Forum: Projects - Embedded
Topic: 2x 74HC595 via SPI interface, driving 8x 7-segment display
Replies: 4
Views: 602

Re: 2x 74HC595 via SPI interface, driving 8x 7-segment display

There are quite a lot of MAX7219 drivers around though - I've done ones for the 8 x 8 grids, digits and most recently - 32 x 32 :-) (the last is the simplest and supports simulation too!) The actual data required is simple - output to all of the attached drivers and then latch a line at a time. Martin
by mnfisher
Fri Feb 13, 2026 10:15 am
Forum: Projects - Embedded
Topic: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display
Replies: 1
Views: 220

Re: 1x 74HC595/TPIC6B595 via SPI interface, driving multiplexed 4x 7-segment display

Multiplexing - you need to 'turn on' the individual segments for some of the time - rapidly switching between the different digits by connecting the common (anode or cathode)

Have a look at https://www.flowcode.co.uk/forums/viewt ... g&start=10

Martin
by mnfisher
Thu Feb 12, 2026 10:05 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 22
Views: 1409

Re: 16f18877 internal Zero Cross Detector

Possibly!

I suspect you might be able to do $PORTA0 = 1 in a calculation too?

Though - this is new to me - and I've not tried it...
by mnfisher
Thu Feb 12, 2026 9:38 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 22
Views: 1409

Re: 16f18877 internal Zero Cross Detector

No - at least not in a FC friendly way...

You could do it in C - but (as far as I know) there is no way in FC to do pin = $PORTA.0 (or similar syntax)

Martin
by mnfisher
Thu Feb 12, 2026 9:34 pm
Forum: General
Topic: ESP32 Firmware Protect
Replies: 1
Views: 95

Re: ESP32 Firmware Protect

Yes..

Go into menuconfig -> Security features.

After reading:

https://docs.espressif.com/projects/esp ... ption.html

Martin
by mnfisher
Wed Feb 11, 2026 7:08 pm
Forum: Bug Reports
Topic: Lookup table in simulation
Replies: 11
Views: 588

Re: Lookup table in simulation

I'll put it down to the weather (solar storms maybe) - was surely a new error message for me!

Martin
by mnfisher
Wed Feb 11, 2026 7:06 pm
Forum: General
Topic: Flowcode application compiled into bootloader memory area – how to shift start address correctly?
Replies: 5
Views: 485

Re: Flowcode application compiled into bootloader memory area – how to shift start address correctly?

I started with TinyBootloader as a base. I had to modify it quite a lot for a specific requirement (and PIC assembly language was new to me / isn't nice) - it might be worth having a look and seeing if it fits your needs (Evan will do a MCU specific version for a fee - but source not included - so m...
by mnfisher
Wed Feb 11, 2026 5:20 pm
Forum: Feature Requests
Topic: COMPONENT REQUEST: display using 1x 74HC595 and configurable 7-segments digits with multiplexing
Replies: 10
Views: 858

Re: COMPONENT REQUEST: display using 1x 74HC595 and configurable 7-segments digits with multiplexing

Have a look at

viewtopic.php?t=3494

And

viewtopic.php?t=3613

Which deal with (different) LED driver chips - I'm pretty sure the techniques required will be similar.
If you have difficulties I'll try and help..

Martin
by mnfisher
Wed Feb 11, 2026 1:07 pm
Forum: General
Topic: Flowcode application compiled into bootloader memory area – how to shift start address correctly?
Replies: 5
Views: 485

Re: Flowcode application compiled into bootloader memory area – how to shift start address correctly?

You can use the codeoffset directive...

I did a bootloader for a PIC18 and tried quite hard to get the harmony framework bootloader to work.

I didn't manage it - and in the end put the bootloader at the end of memory and loaded the FC program as is...

You'll hopefully have more success ..

Martin