Beefer3
New Member
Hello all.
I have a need to compare srtings with PIC Basic Pro. I have a Siteplayer ethernet module connected to a PIC16F877A and I want to send a string through the siteplayer out to the 877A. When the 877A recieves the string I want to compare it with an IF THEN statement and then send a serial command out. I can currently send strings out of my siteplayer to my PC as a test. But when I try to compile an IF THEN statement (comparing a string) in PIC Basic Pro I get an error that says "misplaced or incorrect ENDIF command".
Can anyone help?
Thanks
I have a need to compare srtings with PIC Basic Pro. I have a Siteplayer ethernet module connected to a PIC16F877A and I want to send a string through the siteplayer out to the 877A. When the 877A recieves the string I want to compare it with an IF THEN statement and then send a serial command out. I can currently send strings out of my siteplayer to my PC as a test. But when I try to compile an IF THEN statement (comparing a string) in PIC Basic Pro I get an error that says "misplaced or incorrect ENDIF command".
Can anyone help?
Thanks