Search:

Type: Posts; User: C-Noob#1

Search: Search took 0.01 seconds.

  1. Ok, let's say I fix the double-duty RA2 pin by...

    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...
  2. Replies
    7
    Views
    1,146

    Semicolon after printf("D")? If I get this one...

    Semicolon after printf("D")? If I get this one wrong, I'm not posting any more garbage...lol
  3. Replies
    7
    Views
    1,146

    I really hesitate to post an answer since I know...

    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. ...
  4. PIC16F690: Using RA2 as Both an Input and an Interrupt

    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...
  5. Using Variable Names When Calling a MC PIN High or Low

    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...
  6. Thank you. That cleared up a bunch of errors. ...

    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...
  7. Thank you. That cleared up a bunch of errors. ...

    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...
  8. Calling Functions with Pointer Arguments; Using Pointer Variables as Operaators

    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...
Results 1 to 8 of 8