WS2812 RGB LED

Post and discuss new components that you have created.
Post Reply
kaqkk007
Posts: 26
http://meble-kuchenne.info.pl
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 2 times
Been thanked: 1 time

WS2812 RGB LED

Post by kaqkk007 »

I have inserted the ws led into a project but when the int command is entered it throws an error and refuses to compile hex . I have tried 16f628 and 18f252 but the error list is the same . I have made several working programs with led in the past so I don't understand what is wrong now.

Licence key: ******
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <PIC_CUSTOM> user settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 16F628A "D:\OneDrive\Asztal\" "1DIG_628"

D:\OneDrive\Asztal>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589807C95A2F1C2769D70BE3AA931A3F48B38E582CFD8E4085DD8DA408700E5719BB0FE44B686FBBF4050CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE1468065B86E00B2487B7DE8D413948019019AFB8908E26D0AE50ACE3D7DDA2D28E9421B336835453

D:\OneDrive\Asztal>REM REVISION: 3.0

D:\OneDrive\Asztal>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC

D:\OneDrive\Asztal>REM DATE: 09\01\2024

D:\OneDrive\Asztal>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat

D:\OneDrive\Asztal>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8-cc.exe" -mcpu=16F628A "1DIG_628.c" -w=359,1273,1388 -fno-short-float -fno-short-double -std=c90 -Os
1DIG_628.c:265:52: error: (192) undefined identifier "FCVsz_06621_LED_WS28"
1DIG_628.c:265:75: error: (981) pointer required
1DIG_628.c:265:75: error: (981) pointer required
1DIG_628.c:265:78: error: (981) pointer required
1DIG_628.c:265:78: error: (981) pointer required
1DIG_628.c:265:78: error: (188) constant expression required
1DIG_628.c:265:78: error: (310) "]" expected
(908) exit status = 1

Error returned from [xc8.exe]

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Autoclose turned off

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: WS2812 RGB LED

Post by Steve-Matrix »

Please post your project files (fcfx and c) and we'll take a look.

kaqkk007
Posts: 26
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 2 times
Been thanked: 1 time

Re: WS2812 RGB LED

Post by kaqkk007 »

The problem was solved by a reinstallation

Post Reply