Jump to content



Photo
- - - - -

LEDWIZ clone on Arduino Pro Micro, 18 ports available


  • Please log in to reply
25 replies to this topic

#1 kodel

kodel

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: ---------

  • Favorite Pinball: Adams Family

Posted 26 March 2023 - 03:09 PM

First post in this forum.

I got into Virtual Pinball last week and am excited to build myself a cabinet. I already ordered some hardware, but I will be using an Arduino Pro Micro to control toys, LED's, buttons, plunger and nudge sensor. I started by building a LEDWIZ clone, based on the work done by @cyclemat.

 

The code is tested with LedBlinky's SimpleLEDTest and with the Visual Pinball DOF system. It seems to work, although I can't seem to test the automated modes (triangle, ramp down, etc). Maybe there is a test table somewhere that uses these LEDWIZ features?

 

For people who want to build their own LEDWIZ clone with an Arduino Pro Micro: I have added the single .ino file to this post. Mind you that you need to install 2 libraries and modify 2 other files. The instructions on how to do this are in the source file. The 18 ports that you can use are number from 1 to 18 with 1= top left, 10= bottom left, 11= bottom right and 18= top right. Skip the pins GND, VCC, RESET and RAW. Make sure not to draw more than 10mA from the Arduino ports, so use a Mosfet board to drive your loads.

 

If you want to modify the code or upload it to github so other people can work on this: this is fine.

 

Download Arduino source file:

https://drive.google...iew?usp=sharing


Edited by kodel, 26 March 2023 - 03:13 PM.


#2 Firepower68

Firepower68

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: Germany

  • Favorite Pinball: Firepower

Posted 03 April 2023 - 08:48 PM

Cool, may you can provide a compiled bin file?

Thanks



#3 vothar

vothar

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: Canada

  • Favorite Pinball: medieval madness

Posted 05 April 2023 - 10:53 PM

thank you.



#4 drForce

drForce

    Hobbyist

  • Members
  • PipPip
  • 18 posts

  • Flag: Netherlands

  • Favorite Pinball: xenon

Posted 14 May 2023 - 07:44 PM

Hello Koen, I implemented your solution. Unfortunately I get an error.:" unknown usb device (device descriptor request failed).  

 

I  have tried to fix this but until now no solution. Perhaps you can shed some light on this.

I am not sure if the problem lies within the product advertising (vendor id/device descriptor or with USB communication. The latter seems unlikely. 

I changed the vendor ID and product ID. I guess the product ID is just the ledwiz device number. No succes. In your comments you state that when encountering problems after the build i should remove the entries from the registry. It's unclear to me which entries. i haven not found any relating to VID/PID FAFA 00F0. Probably because the peripheral is not recognized at all.

 

So, perhaps you know how to solve this. 

 

In the file you also write preprocessor code. Seems like the commands after if/else are in both cases '#define RAWHID_SIZE (8)'

 // Keep one byte offset for the reportID if used
  #if (HID_REPORTID_RAWHID)
  #define RAWHID_SIZE (8) // USB_EP_SIZE-1 of 8
  #error RAWHID does not work properly with a report ID and multiple reports.
  #error Please remove this manually if you know what you are doing.
  #else
  #define RAWHID_SIZE (8) // USB_EP_SIZE of 8
  #endif
 
So is this right???
 
 
Thanks Koen for your effort. Hope you can help solve the problem.
 
Drforce.

-


Edited by drForce, 15 May 2023 - 06:08 AM.


#5 vpinmatt

vpinmatt

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Netherlands

  • Favorite Pinball: World Cup 90

Posted 15 May 2023 - 02:38 PM

Hi Koen,

 

This is awesome. I was looking for a Teensy alternative, since I don't need a lot of ports and the prices went to far up.

 

I've made a small cabinet (25" playfield and 15" backglass) and everything is after severe testing working how I like it.

 

After that I decided I wanted my buttons to blink :)

 

I think I'm going for a blinking coin, start and plunger button and maybe the magna buttons. Now thinking of it, I might add a small LED bar :)

 

Thanks again. I will try tonight to get the arduino working. 


Edited by vpinmatt, 15 May 2023 - 02:41 PM.


#6 playcade

playcade

    Hobbyist

  • Members
  • PipPip
  • 37 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: Harlem Globetrotters on Tour, Black Knight, Seawitch

Posted 15 May 2023 - 05:18 PM

First post in this forum.

I got into Virtual Pinball last week and am excited to build myself a cabinet. I already ordered some hardware, but I will be using an Arduino Pro Micro to control toys, LED's, buttons, plunger and nudge sensor. I started by building a LEDWIZ clone, based on the work done by @cyclemat.

 

The code is tested with LedBlinky's SimpleLEDTest and with the Visual Pinball DOF system. It seems to work, although I can't seem to test the automated modes (triangle, ramp down, etc). Maybe there is a test table somewhere that uses these LEDWIZ features?

 

For people who want to build their own LEDWIZ clone with an Arduino Pro Micro: I have added the single .ino file to this post. Mind you that you need to install 2 libraries and modify 2 other files. The instructions on how to do this are in the source file. The 18 ports that you can use are number from 1 to 18 with 1= top left, 10= bottom left, 11= bottom right and 18= top right. Skip the pins GND, VCC, RESET and RAW. Make sure not to draw more than 10mA from the Arduino ports, so use a Mosfet board to drive your loads.

 

If you want to modify the code or upload it to github so other people can work on this: this is fine.

 

Download Arduino source file:

https://drive.google...iew?usp=sharing

 

FOLLOWING!!!!

 Thanks a lot for this!

 

I have followed your method step by step but the promicro is not recognized like a ledwiz clone by windows.

 

I am an arduino IDE user.

 

a) I have installed the Sparkfun promicro boards stuff so they appear in the Arduino IDE Boards selection.

b) I have downloaded the 2 Zip libraries required (arduino-softpwm-master and the other one HID-master)

c) I have installed both of them with the IDE, clicking in SKETCH, INCLUDE LIBRARY, ADD ZIP LIBRARY

 

Then, I have made the 2 modifications:

 

d) Boards.txt: located in:
 
C:\Users\JOLO\AppData\Local\Arduino15\packages\SparkFun\hardware\avr\1.1.13
 
 

Here I ve just changed the red lines and added the blue line:

 

################################################################################
################################## Pro Micro ###################################
################################################################################
promicro.name=SparkFun Pro Micro
 
promicro.upload.tool=avrdude
promicro.upload.protocol=avr109
promicro.upload.maximum_size=28672
promicro.upload.maximum_data_size=2560
promicro.upload.speed=57600
promicro.upload.disable_flushing=true
promicro.upload.use_1200bps_touch=true
promicro.upload.wait_for_upload_port=true
 
promicro.bootloader.tool=avrdude
promicro.bootloader.unlock_bits=0x3F
promicro.bootloader.lock_bits=0x2F
promicro.bootloader.low_fuses=0xFF
promicro.bootloader.high_fuses=0xD8
 
promicro.build.board=AVR_PROMICRO
promicro.build.core=arduino:arduino
promicro.build.variant=promicro
promicro.build.mcu=atmega32u4
  promicro.build.usb_product="USB LED-Wiz Copy by Koen"
  promicro.build.vid=0xFAFA
  promicro.build.pid=0x00F0
  promicro.menu.cpu.16MHzatmega32U4.build.pid=0x00F0
  promicro.build.pid=0x00F0
promicro.build.extra_flags={build.usb_flags}
 
######################### Pro Micro 3.3V / 8MHz ################################
 
 
e) RawHID: located in:
 
C:\Users\JOLO\Documents\Arduino\libraries\HID-master\src\SingleReport

 

I have copied and pasted to replace this part:

 

  #undef RAWHID_USAGE_PAGE
  #define RAWHID_USAGE_PAGE 65280 // recommended: 0xFF00 to 0xFFFF
 
  #undef RAWHID_USAGE
  #define RAWHID_USAGE 0x0001 // recommended: 0x0100 to 0xFFFF
 
  // Keep one byte offset for the reportID if used
  #if (HID_REPORTID_RAWHID)
  #define RAWHID_SIZE (8) // USB_EP_SIZE-1 of 8
  #error RAWHID does not work properly with a report ID and multiple reports.
  #error Please remove this manually if you know what you are doing.
  #else
  #define RAWHID_SIZE (8) // USB_EP_SIZE of 8
  #endif
 
The code uploads OK, but the promicro is not recognized like a ledwiz. It still is recognized like an arduino board.
I am using the app NewLedTester to test the board and it says "NO LEDWIZ BOARD DETECTED"
Am I missing anything?
 
Could you help me, please ?
thank you

 


Edited by playcade, 15 May 2023 - 06:39 PM.


#7 playcade

playcade

    Hobbyist

  • Members
  • PipPip
  • 37 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: Harlem Globetrotters on Tour, Black Knight, Seawitch

Posted 01 June 2023 - 03:29 AM

Hi Koen,

 

This is awesome. I was looking for a Teensy alternative, since I don't need a lot of ports and the prices went to far up.

 

I've made a small cabinet (25" playfield and 15" backglass) and everything is after severe testing working how I like it.

 

After that I decided I wanted my buttons to blink :)

 

I think I'm going for a blinking coin, start and plunger button and maybe the magna buttons. Now thinking of it, I might add a small LED bar :)

 

Thanks again. I will try tonight to get the arduino working. 

Hi! Did you make it work?



#8 playcade

playcade

    Hobbyist

  • Members
  • PipPip
  • 37 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: Harlem Globetrotters on Tour, Black Knight, Seawitch

Posted 08 June 2023 - 11:38 AM

Do we have to upload the code in DFU mode?? I will try in this way, because I think this is the only way that an arduino board should be "recognized" by windows, like other thing (ledwiz) and not an  arduino promicro



#9 vpinmatt

vpinmatt

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Netherlands

  • Favorite Pinball: World Cup 90

Posted 10 June 2023 - 11:25 AM

HI Koen,

 

Finally I got to it. Followed the steps (which was a nice search on a Mac) and flashed the Adruino.

 

Now the PC says "USB device not recognized" and the status of the device is "unkown USB device (device descriptor request failed)". 

 

I even tried to install the AVR windows drivers, but Windows refuses those drivers, since W11 drivers are newer.



#10 kodel

kodel

    Neophyte

  • Members
  • Pip
  • 2 posts

  • Flag: ---------

  • Favorite Pinball: Adams Family

Posted 19 June 2023 - 11:18 AM

Thanks for the interest in the project, guys.

 

I have checked the instructions I provided and compared to my working code. What is posted above should work. I'm pasting the full Pro Micro section of my working boards.txt below for reference.

 

My assumption is that the problem you are experiencing is that the upload to the Pro Micro doesn't update the boatloader properly. This is a problem not related to the LEDWiz implementation, but to how an Arduino board can emulate a USB joystick. My suggestion would be to first make sure that you have your Arduino recognised as a joystick and then make the code changes above and convert it into a LEDWiz. If you're not succesfull in having the Arduino recognised as a joystick, you will not succeed in turning it into a LEDWiz either.

 

Here is an example of how to turn the Arduino into a joystick: https://www.tinkerbo...r-with-arduino/

You might want to reset the Arduino: https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/troubleshooting-and-faq 

Make sure to choose the correct version (5V / 3.3V) upon upload, since this affects the CPU speed.

 

Just FYI, I previously used the PID/VID below, which is I think is the orginal LEDWiz PID/VID. But I'm not sure anymore, my notes aren't 100% clear. That might or might not make a difference:

USB\VID_1B4F&PID_9206&REV_0100&MI_00
USB\VID_1B4F&PID_9206&MI_00

 

Sorry to not be able to help more. I'm no specialist either, I just started with the code that is available and figured out how to get the correct VID/PID and how to send the correct number of bytes in the HID report.

 

 

Below is the relevant sections of my Sparkfun boards.txt file:

 

################################################################################
################################## Pro Micro ###################################
################################################################################
promicro.name=SparkFun Pro Micro
 
promicro.upload.tool=avrdude
promicro.upload.protocol=avr109
promicro.upload.maximum_size=28672
promicro.upload.maximum_data_size=2560
promicro.upload.speed=57600
promicro.upload.disable_flushing=true
promicro.upload.use_1200bps_touch=true
promicro.upload.wait_for_upload_port=true
 
promicro.bootloader.tool=avrdude
promicro.bootloader.unlock_bits=0x3F
promicro.bootloader.lock_bits=0x2F
promicro.bootloader.low_fuses=0xFF
promicro.bootloader.high_fuses=0xD8
 
promicro.build.board=AVR_PROMICRO
promicro.build.core=arduino:arduino
promicro.build.variant=promicro
promicro.build.mcu=atmega32u4
promicro.build.usb_product="USB LED-Wiz Copy by Koen"
promicro.build.vid=0xFAFA
promicro.build.pid=0x00F0
promicro.build.extra_flags={build.usb_flags}
promicro.build.usb_manufacturer="ROF"
 
######################### Pro Micro 3.3V / 8MHz ################################
promicro.menu.cpu.8MHzatmega32U4=ATmega32U4 (3.3V, 8 MHz)
 
promicro.menu.cpu.8MHzatmega32U4.build.pid.0=0x9203
promicro.menu.cpu.8MHzatmega32U4.build.pid.1=0x9204
promicro.menu.cpu.8MHzatmega32U4.build.pid=0x9204
promicro.menu.cpu.8MHzatmega32U4.build.f_cpu=8000000L
 
promicro.menu.cpu.8MHzatmega32U4.bootloader.extended_fuses=0xFE
promicro.menu.cpu.8MHzatmega32U4.bootloader.file=caterina/Caterina-promicro8.hex
 
 
############################# Pro Micro 5V / 16MHz #############################
promicro.menu.cpu.16MHzatmega32U4=ATmega32U4 (5V, 16 MHz)
 
promicro.menu.cpu.16MHzatmega32U4.build.pid.0=0x00F0
promicro.menu.cpu.16MHzatmega32U4.build.pid.1=0x00F1
promicro.menu.cpu.16MHzatmega32U4.build.pid=0x00F0
promicro.menu.cpu.16MHzatmega32U4.build.f_cpu=16000000L
 
promicro.menu.cpu.16MHzatmega32U4.bootloader.extended_fuses=0xCB
promicro.menu.cpu.16MHzatmega32U4.bootloader.file=caterina/Caterina-promicro16.hex

Edited by kodel, 19 June 2023 - 11:20 AM.


#11 playcade

playcade

    Hobbyist

  • Members
  • PipPip
  • 37 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: Harlem Globetrotters on Tour, Black Knight, Seawitch

Posted 21 June 2023 - 08:03 PM

 

Thanks for the interest in the project, guys.

 

I have checked the instructions I provided and compared to my working code. What is posted above should work. I'm pasting the full Pro Micro section of my working boards.txt below for reference.

 

My assumption is that the problem you are experiencing is that the upload to the Pro Micro doesn't update the boatloader properly. This is a problem not related to the LEDWiz implementation, but to how an Arduino board can emulate a USB joystick. My suggestion would be to first make sure that you have your Arduino recognised as a joystick and then make the code changes above and convert it into a LEDWiz. If you're not succesfull in having the Arduino recognised as a joystick, you will not succeed in turning it into a LEDWiz either.

 

Here is an example of how to turn the Arduino into a joystick: https://www.tinkerbo...r-with-arduino/

You might want to reset the Arduino: https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/troubleshooting-and-faq 

Make sure to choose the correct version (5V / 3.3V) upon upload, since this affects the CPU speed.

 

Just FYI, I previously used the PID/VID below, which is I think is the orginal LEDWiz PID/VID. But I'm not sure anymore, my notes aren't 100% clear. That might or might not make a difference:

USB\VID_1B4F&PID_9206&REV_0100&MI_00
USB\VID_1B4F&PID_9206&MI_00

 

Sorry to not be able to help more. I'm no specialist either, I just started with the code that is available and figured out how to get the correct VID/PID and how to send the correct number of bytes in the HID report.

 

 

Below is the relevant sections of my Sparkfun boards.txt file:

 

################################################################################
################################## Pro Micro ###################################
################################################################################
promicro.name=SparkFun Pro Micro
 
promicro.upload.tool=avrdude
promicro.upload.protocol=avr109
promicro.upload.maximum_size=28672
promicro.upload.maximum_data_size=2560
promicro.upload.speed=57600
promicro.upload.disable_flushing=true
promicro.upload.use_1200bps_touch=true
promicro.upload.wait_for_upload_port=true
 
promicro.bootloader.tool=avrdude
promicro.bootloader.unlock_bits=0x3F
promicro.bootloader.lock_bits=0x2F
promicro.bootloader.low_fuses=0xFF
promicro.bootloader.high_fuses=0xD8
 
promicro.build.board=AVR_PROMICRO
promicro.build.core=arduino:arduino
promicro.build.variant=promicro
promicro.build.mcu=atmega32u4
promicro.build.usb_product="USB LED-Wiz Copy by Koen"
promicro.build.vid=0xFAFA
promicro.build.pid=0x00F0
promicro.build.extra_flags={build.usb_flags}
promicro.build.usb_manufacturer="ROF"
 
######################### Pro Micro 3.3V / 8MHz ################################
promicro.menu.cpu.8MHzatmega32U4=ATmega32U4 (3.3V, 8 MHz)
 
promicro.menu.cpu.8MHzatmega32U4.build.pid.0=0x9203
promicro.menu.cpu.8MHzatmega32U4.build.pid.1=0x9204
promicro.menu.cpu.8MHzatmega32U4.build.pid=0x9204
promicro.menu.cpu.8MHzatmega32U4.build.f_cpu=8000000L
 
promicro.menu.cpu.8MHzatmega32U4.bootloader.extended_fuses=0xFE
promicro.menu.cpu.8MHzatmega32U4.bootloader.file=caterina/Caterina-promicro8.hex
 
 
############################# Pro Micro 5V / 16MHz #############################
promicro.menu.cpu.16MHzatmega32U4=ATmega32U4 (5V, 16 MHz)
 
promicro.menu.cpu.16MHzatmega32U4.build.pid.0=0x00F0
promicro.menu.cpu.16MHzatmega32U4.build.pid.1=0x00F1
promicro.menu.cpu.16MHzatmega32U4.build.pid=0x00F0
promicro.menu.cpu.16MHzatmega32U4.build.f_cpu=16000000L
 
promicro.menu.cpu.16MHzatmega32U4.bootloader.extended_fuses=0xCB
promicro.menu.cpu.16MHzatmega32U4.bootloader.file=caterina/Caterina-promicro16.hex

 

Thank you Kodel!

With that Boards .txt section (different to the one in the .ino script) , It works!

 

Regards



#12 vpinmatt

vpinmatt

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Netherlands

  • Favorite Pinball: World Cup 90

Posted 22 June 2023 - 08:27 PM

Kodel! It works. Awesome.



#13 victorbeico

victorbeico

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: Brazil

  • Favorite Pinball: pokemon

Posted 01 August 2023 - 02:07 PM

Firstly, I wanted to say that this is an incredible project, and I congratulate you on the initiative. It's hard to find something similar on the internet.
 
My question is: Would it be possible to apply this to an Arduino Uno?


#14 vpinmatt

vpinmatt

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Netherlands

  • Favorite Pinball: World Cup 90

Posted 02 August 2023 - 08:25 PM

 

Firstly, I wanted to say that this is an incredible project, and I congratulate you on the initiative. It's hard to find something similar on the internet.
 
My question is: Would it be possible to apply this to an Arduino Uno?

 

 

Ola Victor,

 

I think it has to with the fact the Nano has an USB UART and the Uno doesn't, and therefore not compatible with this project. In short: the Nano can act as an USB device, the Uno can not.

 

You can pickup Nano's still pretty cheap. I did not have any 'in stock' either, but it was worth while. So glad Kodel blessed us with this solution. It works like a charm!



#15 victorbeico

victorbeico

    Neophyte

  • Members
  • Pip
  • 4 posts

  • Flag: Brazil

  • Favorite Pinball: pokemon

Posted 04 August 2023 - 05:21 PM

Thank you for the response, Neophyte.
 
My question was because I already own an Arduino UNO, and I wanted to make use of it. But I think I'll go with the safer option and get the nano. Thanks!


#16 wouterrusman

wouterrusman

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: ---------

  • Favorite Pinball: Williams Hurricane

Posted 02 January 2024 - 04:14 PM

Hi Koen,

thanks for your work on this, i've yet to build one but it looks promising.

 

I've modified the boards.txt so it won't interfere with the regular pro micro's I use for other purposes too. I made a seperate section for this LedWIZ clone in the boards.txt like this :

################################################################################
###################################### LedWIZ ##################################
################################################################################
LedWIZ.name=USB LED-Wiz Copy by Koen

LedWIZ.upload.tool=arduino:avrdude
LedWIZ.upload.protocol=avr109
LedWIZ.upload.maximum_size=28672
LedWIZ.upload.speed=57600
LedWIZ.upload.disable_flushing=true
LedWIZ.upload.use_1200bps_touch=true
LedWIZ.upload.wait_for_upload_port=true

LedWIZ.bootloader.tool=arduino:avrdude
LedWIZ.bootloader.unlock_bits=0x3F
LedWIZ.bootloader.lock_bits=0x2F
LedWIZ.bootloader.low_fuses=0xFF
LedWIZ.bootloader.high_fuses=0xD8

LedWIZ.build.board=AVR_LEDWIZ
LedWIZ.build.mcu=atmega32u4
LedWIZ.build.f_cpu=16000000L
LedWIZ.build.vid=0xFAFA
LedWIZ.build.pid=0x00F0
LedWIZ.build.usb_product="USB LED-Wiz Copy by Koen"
LedWIZ.build.core=arduino:arduino
LedWIZ.build.variant=promicro
LedWIZ.build.extra_flags={build.usb_flags}
LedWIZ.build.usb_manufacturer="SparkFun Electronics"
LedWIZ.menu.cpu.16MHzatmega32U4.build.pid=0x00F0

On linux it is now detected like this :

[1312827.665780] usb 3-3: new full-speed USB device number 55 using xhci_hcd
[1312827.822049] usb 3-3: New USB device found, idVendor=fafa, idProduct=00f0, bcdDevice= 1.00
[1312827.822057] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1312827.822060] usb 3-3: Product: USB LED-Wiz Copy by Koen
[1312827.822062] usb 3-3: Manufacturer: SparkFun Electronics
[1312827.822064] usb 3-3: SerialNumber: C
[1312827.825768] cdc_acm 3-3:1.0: ttyACM0: USB ACM device
[1312827.827111] hid-generic 0003:FAFA:00F0.0013: hiddev1,hidraw6: USB HID v1.01 Device [SparkFun Electronics USB LED-Wiz Copy by Koen] on usb-0000:00:14.0-3/input2

 

 

I haven't tried it with Ledtest or VPX yet,


 


I've never done it before, so how hard can it be ?


#17 Mullie68

Mullie68

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: Australia

  • Favorite Pinball: Dirty Harry

Posted 23 February 2024 - 11:21 PM

Hi Koen, 

 

I just wanted to add my appreciation for the work you have put in to this. I dug out a cheap Pro Micro, made the edits (edited boards.txt as per Wouterrusman's post above) and flashed, and was up and running in ledtest straight away. 

 

I will probably end up using two of these in the same cabinet.  (It's already well stocked with similar boards/projects for my spinner, a keyboard emulator for standard mame keys and pinball shooter, and a nudge sensor) I haven't tried flashing a second board yet to see if they show up independently in ledtest/ledblinky, and I'm not sure if there are any gotcha's or edits necessary to do so yet, but if you are still watching this thread I'd love to hear your thoughts.

 

Once again, thank you!


Edited by Mullie68, 23 February 2024 - 11:22 PM.


#18 digitalarts

digitalarts

    Pinball Fan

  • Members
  • PipPipPipPip
  • 571 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Judge Dredd (have the real one); all virtual EM's

Posted 24 February 2024 - 09:30 AM

@Mullie68
If you want to use more then one ledwiz clones, be sure they have different id's!
It's the .build.pid = 0x00F0
;F0 is ID1, for the next ledwiz you need to set it to 0x00F1 so it's ID2.
If you have a pinscape additionaly, this already is fixed ID8

#19 Mullie68

Mullie68

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: Australia

  • Favorite Pinball: Dirty Harry

Posted 12 March 2024 - 12:11 AM

@digitalarts, thank you!
Cheers,
Mullie68

#20 Mullie68

Mullie68

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: Australia

  • Favorite Pinball: Dirty Harry

Posted 16 March 2024 - 01:08 AM

 

All, as per the permission granted in the opening post, I've uploaded to github here - https://github.com/S...duino-Pro-Micro

 

this is largely because I'm disorganised and need to know where to find it. I've referenced this post and all of the great work. 

 

Any issues, please let me know