SiFive HiFive1 Rev B with LCD I2C module

This is a library used for SiFive Hifive 1 Rev B board to communicate with Lyquid Crystal Display (LCD) with I2C module and examples of how to use this it (LiquidCrystal_I2C.c, LiquidCrystal_I2C.h).

Demonstration Video

Download

git clone https://github.com/TaLucGiaHoang/hifive1-revb-bh1750

Build Examples

  • Use FreedomStudio IDE to create a SiFive project for HiFive 1 Rev B board.
  • Then copy LiquidCrystal_I2C.c, LiquidCrystal_I2C.h, delay.c files and a selected example (BlinkingCursor.c, CustomChars.c, HelloWorld.c, SerialDisplay.c) in examples folder to your project and build.

Hardware Requirements

  • SiFive Hifive 1 Rev B board
  • LCD1602 with I2C module

Wire Connections

HiFive1 Rev B      LCD I2C module
IO19 (SCL)    <--> SCL
IO18 (SDA)    <--> SDA
5.0 V         <--> VCC
GND           <--> GND

Development tools

Documents

Icons made by Freepik from www.flaticon.com