Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Ioannis; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    3,282

    Re: SHIFTOUT with PIC12F675?

    Yes but you defined wrong. For example _DIO var GPIO.1 is not the same as DIO var GPIO.1

    Ioannis
  2. Replies
    11
    Views
    3,282

    Re: SHIFTOUT with PIC12F675?

    Why would give any error?

    output 1 or output 2 are valid commands that make pin 1 or pin2 output.

    And then you define the aliases _DIO var GPIO.1 etc.

    But did not defined the TRIS register....
  3. Replies
    11
    Views
    3,282

    Re: SHIFTOUT with PIC12F675?

    In PBP I never encountered any problems with SHIFTout or SHIFTin commands.

    I pressume you will not have too.

    Ioannis
  4. Replies
    11
    Views
    3,282

    Re: SHIFTOUT with PIC12F675?

    Originally the problem I think was this syntax:

    '*** In/Out pins ..................................................
    Output 1 : _DIO var GPIO.1
    Output 2 : _CLK var GPIO.2

    I do not see how...
  5. Replies
    11
    Views
    3,282

    Re: SHIFTOUT with PIC12F675?

    Maybe it is better to define the output register more convenitional.

    Try

    TRISIO = 0

    DIO VAR GPIO.1
    CLK VAR GPIO.2

    and report back how is doing.
Results 1 to 5 of 5