P Pommie Well-Known Member Most Helpful Member Jun 10, 2019 #42 When you used byte it was impossible to get lower than 128 which is why you had to change it. Had you used unsigned byte it would have worked fine. Mike.
When you used byte it was impossible to get lower than 128 which is why you had to change it. Had you used unsigned byte it would have worked fine. Mike.
be80be Well-Known Member Jun 10, 2019 #43 I'm using uint8_t on the pic16f18855 I had to change count to 127
P Pommie Well-Known Member Most Helpful Member Jun 10, 2019 #44 You should be able to use var <128 or var <=127 as they are the same. Mike.