??? 05/20/10 21:03 Read: times |
#176085 - thank for the comments! Responding to: ???'s previous message |
first im using the SES51 compiler (the kit),
the if(temp='0') lines do work. i didnt gave the full code becuase the rest is not relevant, the code need to get from the pc (RS232) first an ASCII number, that will choose a latch, then a byte to go to the latch. also theres a timer so every 10ms the mcu check if some legs are at 0. if they arent the legs state is transmitted to the pc. by delay i ment a function that will delay the mcu for a number of msec(like an empty for). i didnt use any, but i saw some programs that use a few (20mse). from the pc im using a kind of BASIC program, and the baud rate and the data order is set like the mcu. its also set for ASCII and regular bit. the hardware is fine, so it shouldnt be it. it might be the BASIC program becuase its normally used for GPIB, so i need to check it some more. any more thoughts? |
Topic | Author | Date |
reading two times | 01/01/70 00:00 | |
RE: "dosent work" | 01/01/70 00:00 | |
RE: the code is something like this | 01/01/70 00:00 | |
Also... | 01/01/70 00:00 | |
RE: you don't say which compiler you are using | 01/01/70 00:00 | |
thank for the comments! | 01/01/70 00:00 | |
SBUF | 01/01/70 00:00 | |
the if(temp='0') lines do work | 01/01/70 00:00 | |
RE:if | 01/01/70 00:00 | |
If that's true, then your so-called "C compiler" is BROKEN! | 01/01/70 00:00 | |
comments | 01/01/70 00:00 | |
SES51 compiler | 01/01/70 00:00 | |
= != == in C | 01/01/70 00:00 | |
RE:again | 01/01/70 00:00 | |
do yourself a favor | 01/01/70 00:00 | |
not necessarily![]() | 01/01/70 00:00 |