TOP Contributors

  1. MIKROE (2657 codes)
  2. Alcides Ramos (354 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136892 times)
  2. FAT32 Library (70029 times)
  3. Network Ethernet Library (56003 times)
  4. USB Device Library (46308 times)
  5. Network WiFi Library (41934 times)
  6. FT800 Library (41222 times)
  7. GSM click (29019 times)
  8. PID Library (26434 times)
  9. mikroSDK (26401 times)
  10. microSD click (25386 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
mikroSDK Library

I2C Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-04-03

Package Version: 2.0.0.4

mikroSDK Library: 2.0.0.0

Category: EEPROM

Downloaded: 38 times

Not followed.

License: MIT license  

The application demonstrates I2C SDK functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "I2C Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "I2C Demo" changes.

Do you want to report abuse regarding "I2C Demo".

  • Information
  • Comments (0)

mikroSDK Library Blog

I2C DEMO

This is a simple example that utilizes mikroSDK 2.0 I2C driver library. In this demo, we use EEPROM click to write 20 bytes of data and read them back. Written and read data is printed out on the Standard output - Application output or UART, determined by the chosen setup.


  • Author : MIKROE
  • Version : 2.0.0.4
  • Date : July 2023.

Hardware support

image

  • Note: You can also use a logic analyzer to see signals and data.

Software Support

We provide code for demonstrating the usage of functions contained in I2C driver library. To run this example, follow these steps:

  1. Install the package from Package manager.
  2. Open example.
  3. It will take you to setups, so make one for your hardware.
  4. Choose adequate setup and the project will open.
  5. Program it by clicking on Flash.
  6. If transfer completes successfully, INT pin on the Tester click will light up.

Transferred data can also be seen on the Application output or UART terminal, depending on the chosen setup.

example


ALSO FROM THIS AUTHOR

LED Driver 5 click

6

LED Driver 5 is a Click board capable of driving an array of high-power LEDs with constant current, up to 1.5A. This Click board features the TPS54200, a highly integrated LED driver IC with many useful features.

[Learn More]

Boost 2 click

5

Boost 2 click is a DC-DC step-up (boost) regulator that has a fixed 5V output, which can be obtained from any low voltage input - such as NiCd, NiMH or one cell Li-Po/Li-Ion batteries.

[Learn More]

LTE Cat.4 3 click

0

LTE Cat.4 3 Click is a compact add-on board representing a multi-band and multi-mode solution, offering universal connectivity and reliable performance. This board features the LARA-L6004D-01B, an LTE Cat 4 module in the smallest form factor from u-blox. The module supports an LTE Cat 4 FDD and an LTE Cat 4 TDD radio access technology (RAT), with a 3G UMTS/HSPA and 2G GSM/GPRS/EGPRS fallback. It is an ideal solution for global and multi-regional coverage.

[Learn More]