Originally the code that i was talking about, was written in mikroBasic, and not by me, but be the mikroElektronika team, and it's also them who had developed the RFID board..
This is the originally code from the mikroElektronika team (OBS. It's in mikroBasic, but it should be similar to PBP): www.tkjweb.dk/Orig_RFID.txt
And this is my code, just so you can see what i want to do: www.tkjweb.dk/My_RFID.txt
And i'm not sure why, but also i can't turn every PORTC or PORTD LED's on, also the PORTC.6 LED is flashing when i click on the button (PORTA.0) and it isn't going correctly into the While loop, or maybe it just skip everything, because when i release the button again, the does the LED turn off!




Bookmarks