• AVR Freaks

Hot!PIC 16F15376 peripheral i2c master

Author
rmanzoli
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2019/10/15 12:20:42
  • Location: 0
  • Status: offline
2019/10/16 19:05:56 (permalink)
0

PIC 16F15376 peripheral i2c master

Hello!
I am learning how to program the 16F15376 PIC, and am having difficulty using the functions generated by the MCC code itself.
I tried to select the SCK and SDA ports in mcc code, and within the main code I used the function to write byte.
I placed the oscilloscope on the ports for SDA and SCL, and to my surprise, I didn't have the square waves or the byte I wanted to send.
My code is below.
Can you help me?
Thanks.

Attachment(s)

Attachments are not available: Download requirements not met
#1

2 Replies Related Threads

    ric
    Super Member
    • Total Posts : 24201
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC 16F15376 peripheral i2c master 2019/10/17 17:59:25 (permalink)
    0
    That is a RAR file, not a ZIP file, so Windows Explorer can't extract it.
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    rmanzoli
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2019/10/15 12:20:42
    • Location: 0
    • Status: offline
    Re: PIC 16F15376 peripheral i2c master 2019/10/17 18:32:16 (permalink)
    0
    Sorry, I thought I could change the extension.
    Follows the new file:

    Attachment(s)

    Attachments are not available: Download requirements not met
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5