INFO - FAQ - CC2-Forum - CCPro-Forum |
|
> Hello, > > I am trying to communicate the CControl with an RFID reader using the serial port. What it has to do is sending a message of 8 bytes (what i could solve using this kind of array-pointers Basic++ allows to use) to the RFID and wait for an answer. Well then, I would need to create a thread , or interruption, so the system would always be listening through the Reception port, so I wouldn't lose the information if it's sent too fast. > > I tried with sys &h101 and some other options but they do not work with basic++. > > I have been trying to find the answer in the forum but could not do it for BASIC++, just found it for CCBASIC... excuse me if it's already there. > > Thanks in advance and excuses for writing in english, but my german is not very fluent. > > Noel > Hello, connect the Interrupt port to your RFID data line. The Interrupt Service Routine will be active within 50us after a falling edge was detected at the Interrupt port. This shall be fast enough to avoid any loss of data. bye |
Antwort schreiben |