We need your urgent help. We've got a very simple test program with 2x WS2812 LEDs, attached. We are trying to update 2x WS2812 LEDs without luck
MCU: PIC32MZ1024EFE100 (Supported) and FC Version: 8.2.1.13
First to clarify, we get compiling error messages, but the HEX file is generated in the end.
Code: Select all
D:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1\CONTROL_PCB_V1_TEST.c:262:0: warning: "MOSIPIN" redefined [enabled by default]
#define MOSIPIN LATBbits.LATB4
^
D:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1\CONTROL_PCB_V1_TEST.c:183:0: note: this is the location of the previous definition
#define MOSIPIN LATBbits.LATB5
^
D:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1\CONTROL_PCB_V1_TEST.c:267:0: warning: "MOSIBIT" redefined [enabled by default]
#define MOSIBIT 4
^
D:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1\CONTROL_PCB_V1_TEST.c:188:0: note: this is the location of the previous definition
#define MOSIBIT 5
^
> Only LED_A is updating on hardware.
> LED_B NEVER gets updated on hardware (no output signal).
> If we disable in Flowcode all LED_A components, still LED_B doesn't get any output on hardware.
> The issue has to be related to the compiling error messages received as with 1x LED we don't get any compiling errors at all.
Can you please help? We are unable to move forward because of this Our main program has got 20+ WS2812 LED components and also not working at all. Many thanks in advance!
R