Question on SPI Data out on PortC.7(pic18f4550)


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Question on SPI Data out on PortC.7(pic18f4550)

    Hi,
    I've never used that code but I'd probably try SDC_UseHardwareSPI = FALSE.
    However, don't change the SDFS.pbp file. INCLUDE it in your program and ADD SDC_UseHardwareSPI = FALSE after including it (see the example) - it will "overwrite" the default setting.

    /Henrik.

  2. #2
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: Question on SPI Data out on PortC.7(pic18f4550)

    Hi Henrik,
    Thanks for the response, I will try it and post here my result.

    Kind regards,
    tacbanon

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Question on SPI Data out on PortC.7(pic18f4550)

    /Henrik is correct.

    This example may help.
    http://www.picbasic.co.uk/forum/cont...USB-SD-LOGGING
    I did comment out the pin alias in SDFS so I could change things around in my code without bothering with opening the include.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: Question on SPI Data out on PortC.7(pic18f4550)

    @Dave
    Sorry for the late reply...thanks for the link..got it to work now.

    /tacbanon

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts