what do you do if you have 39 things to send and you do not want to eat up all that space with serin commands.
what do you do if you have 39 things to send and you do not want to eat up all that space with serin commands.
39 things to send or receive?
To send => you can even use internal EEPROM or use an array variable.
To receive = > With SERIN2, look for the STR modifier.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
ok. I think that I have found a way to get this moving. The problem that I have is that I broke my 16f648a and do not have another. I will be waiting for a while. But between what I have I think that it will work.
I have the programs of my work if you want to look. ironing out the little details to trans u2 ver 7 and still working on trans u1 ver2.
Ah quick question. the attachment MATH is part of u1 ver2. I am getting error leaving me to understand that I don't understand the math behind what is happening within the chip. Since I am doing multiplication and division my information is base 32 rather than 16? Is that what I am to understand?
Very crude but it works. A while back I had to send 1 of 8 numbers to a slave PIC. I used SOUND command on master & COUNT command on slave. First number was near 100HZ, 2 was 200HZ, etc. Worked perfectly. Count command was limited to 100ms and allowed fast response. Count command needs a "window" like IF PULSESRECEIVED > 8 and < 12 THEN LET X = 0. Hope this helps.
for your math you can't use float directly like that.
0.5 * x ===> still the same if you divide by 2
If x=1.5 ===> you should multiply by 10 then read IF x=15 depending of the previous math...
Well you should think integer than float.
Last edited by mister_e; - 16th January 2006 at 19:09.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks