Why did you mentioned Ralph's example where I already provided the screenshot showing the script part to useKaellis991 wrote: ↑Sun Dec 04, 2022 9:01 pm So the diagram that Ralph posted shows how to wire (2) 3-digit displays to an Arduino?
Ralph is correct with the link provided, the screenshot he reported was only showing a MAX7219 sample, as it's written in the page
When we are searching samples or wiring diagrams, the start page is this one (as well for any answer we expect around Air Manager, electronic parts, LUA usage
https://siminnovations.com/wiki/index.p ... =Main_Page
So, in the "INSTRUMENT development" section we find several samples while clicking on "I/O connection examples" https://siminnovations.com/wiki/index.p ... n_examples (@Ralph just seen a typo, the table should mention "Number of characters" as Description for the #3 parameter, I guess it was a copy/paste initially)
However there's no direct sample for the 8 SEGMENT usage, it's a matter of using the available script sample for the 8 Segment usage, which is in text format as shown below, just read at the moment Joe already posted some advice about wiring itself :
Code: Select all
-- Create a new 8 segment based character display with 4 characters
display_chr_id = hw_chr_display_add("NAV1 frequency", "8SEGMENT", 4, "TRANSISTOR_COMMON_ANODE")
-- Set text "1234"
hw_chr_display_set_text(display_chr_id, "1234")