RC5 component not working

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

RC5 component not working

Postby STibor » Thu Feb 13, 2014 8:12 pm

Hi,
Use the RC5 component.
Unfortunately, no good.
Added to the PIC and the Arduino program.
It would be important to work.
Pic error messages:
Building CASM file
Serious Warning: Possible sw stack corruption, function 'FC_CAL_Port_In_DDR__x' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Serious Warning: Possible sw stack corruption, function 'FCD_01bf1_RC5__Initialise_States' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)


Arduino error message:
C:\Program Files\Flowcode 6\CAL\/AVR\AVR_CAL_PWM.c:105:5: warning: #warning "PWM Channel Uses Resource Timer 0"
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c:1401: warning: data definition has no type or storage class
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c:1401: error: conflicting types for 'FCD_01bf1_RC5__Signal_Edge'
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c:942: error: previous definition of 'FCD_01bf1_RC5__Signal_Edge' was here
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c:1407: warning: data definition has no type or storage class
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c:1407: error: conflicting types for 'FCD_01bf1_RC5__Timer_Event'
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c:730: error: previous definition of 'FCD_01bf1_RC5__Timer_Event' was here
Attachments
rs232_test_ardu.fcfx
(6.93 KiB) Downloaded 80 times

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: RC5 component not working

Postby STibor » Tue Feb 18, 2014 9:30 pm

I tried this program and it works. http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=36&p=18069#p18069
Atmega328P and 20MHz crystal.
Flowcode6 misses the TRIS register. I do not think that there was an AVR.
These users thanked the author STibor for the post:
Benj (Wed Feb 19, 2014 2:50 pm)
Rating: 5%