Ok, let's say I fix the double-duty RA2 pin by adding another pushbutton or making the timer for the dice roll a random event. I still need to stop the program at any point and start over where the...
Type: Posts; User: C-Noob#1
Ok, let's say I fix the double-duty RA2 pin by adding another pushbutton or making the timer for the dice roll a random event. I still need to stop the program at any point and start over where the...
Semicolon after printf("D")? If I get this one wrong, I'm not posting any more garbage...lol
I really hesitate to post an answer since I know next to nothing about coding, but...isn't GetInt() a function call? I don't see the function prototyped above main() or called anywhere below main. ...
I brought some code from a PICDEM DV lab example into a simple program I'd written. The example showed how to use the external interrupt on the PIC16F690 to switch directions in a function.
I've...
I haven't tried to run my program yet, but maybe I will save some trouble if I ask this question first.
I am using MC PIC16F690, and I could make a pin high or low by writing RCx = 1 or 0, where x...
Thank you. That cleared up a bunch of errors. I'll rework the Calculate function as you described (sorta knew I would have to).
What would be the syntax for a printf() statement to show the...
Thank you. That cleared up a bunch of errors. I'll rework the Calculate function as you described (sorta knew I would have to).
What would be the syntax for a printf() statement to show the...
I'll apologize in advance--I'm only a few weeks into C programming, and I know this code is terrible.
There are, or course, better ways to do this, but I need to stick to some rules:
(1) Use...