TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141427 times)
  2. FAT32 Library (74284 times)
  3. Network Ethernet Library (58813 times)
  4. USB Device Library (48899 times)
  5. Network WiFi Library (44678 times)
  6. FT800 Library (44198 times)
  7. GSM click (30933 times)
  8. mikroSDK (29784 times)
  9. PID Library (27391 times)
  10. microSD click (27313 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

I2C Master-Slave

Rating:

0

Author: Francisco Ortiz

Last Updated: 2014-06-29

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Communication

Downloaded: 2944 times

Followed by: 1 user

License: MIT license  

This expample uses I2C bus for a master and slave comunication using a PIC18F4550 as MASTER and a PIC16F877A as SLAVE.
The master reads the ADC channel 0 and sends the 8bits data to the slaves, and this one shows the data in the LCD display.

Compiller: MikroC PRO for PIC

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "I2C Master-Slave " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "I2C Master-Slave " changes.

Do you want to report abuse regarding "I2C Master-Slave ".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog is not available at the moment!

RELATED CODES

InfraRed Remote Rx Sony IR protocol using interrupts

0

A simple receiver that receives Sony Protocol Infrared TV remote Signals from IRclick in mikroBUS 1 socket of EasyPIC7. For PIC12F1822 and PIC18F45K22 Light LEDs (or operate relays using drivers) in response to Sony Tv IR remote Due to popular demand... This code uses interrupts, so that other code can run without waiting for IR input

[Learn More]

HOW TO USE THE VIRTUINO APP WITH AN ESP8266, A PIC18F AND MIKROC

0

HOW TO USE THE VIRTUINO APP WITH AN ESP8266, A PIC18F AND MIKROC SUBSCRIBE TO MY YOUTUBE CHANNEL VIDEOS: https://www.youtube.com/watch?v=hYOcU9um390&amp;t=73s https://youtu.be/X1BTHDG2UUE

[Learn More]

Standard IO LIBRARY

11

This library has standard Input/Output functions which can be used for input Strings And output Strings via hardware UART connection, all you have to do is copy and paste the files Stdio.h And Standard_Io.c into your project folder and include them in to your main source code "Stdio.h".

[Learn More]