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 warning: data definition has no type or storage class
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c 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 warning: data definition has no type or storage class
C:\PROGRA~1\FLOWCO~3\prj\ardu\rs232\rs232_test_pic.c 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
RC5 component not working
Moderator: Benj
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: RC5 component not working
I tried this program and it works. http://www.matrixmultimedia.com/mmforum ... 069#p18069
Atmega328P and 20MHz crystal.
Flowcode6 misses the TRIS register. I do not think that there was an AVR.
Atmega328P and 20MHz crystal.
Flowcode6 misses the TRIS register. I do not think that there was an AVR.