Page 2 of 2

Re: max7219 8 digits 7 segment display

Posted: Tue Jun 21, 2022 6:53 pm
by mnfisher
Thanks Ben,

Yes - I used pin 10 as CS - but still sometimes nothing in hardware mode :-(

For fun - I added a SlideIn(str) - which slides in a string (it's a number but can also have - E,H, P, L or a space - note that the decimal point needs to be preceded by a digit) - I'm still just using the BCD display. This means it can 'slide in' HELLO... (0 slides in then L then L etc.)

Then I added a DHT22 and I 'SlideIn' the temperature and humidity on a 5s cycle. I was tempted to add a DS3231 and add the time too.

I modified DispNumberStr to be able to display the string at any position - so a scroll in would be easy... DispDigitBCD now takes an ASCII char (0..9,-,E,H,P,L or ' ')

Any one any ideas - there a lot less fun transitions (probably) - but I thought a SlideOut would be good too?
Display DHT22.fcfx
(47.78 KiB) Downloaded 70 times
Martin

Re: max7219 8 digits 7 segment display

Posted: Wed Jun 22, 2022 10:41 am
by mnfisher
Just had a flash of inspiration - and hardware SPI is up and running.

I just added a Master_Disable_CS before the Master_Init and away it went. Odd - I always thought that using b2 as the CS pin was sufficient.

Martin

Re: max7219 8 digits 7 segment display

Posted: Wed Jun 22, 2022 1:33 pm
by BenR
Aha well done, yes that is suprising but good to know.

I can maybe add that into the SPI CAL component so it does that for you before initialising the SPI.

Re: max7219 8 digits 7 segment display

Posted: Thu Jun 23, 2022 2:57 am
by Sergejs
BenR wrote:
Thu Jun 16, 2022 9:42 am
Hello,

Can you send us the AliExpress link?
Yes I can. It is next:
https://www.aliexpress.com/item/3281574 ... 1802HTEiuc

Re: max7219 8 digits 7 segment display

Posted: Sat Apr 15, 2023 3:28 am
by Sergejs
Sorry, how about solution for this?