Skip to content

DanielSSilva/PowerShell-IoT---IS31FL3730-Driver

Repository files navigation

PowerShell-IoT - IS31FL3730 Driver

This repository has as main objective, replicate the pimoroni's IS31FL3730 driver to the PowerShell environment, using PowerShell-IoT.

Here's the chip's datasheet

If you don't have PowerShell installed on your Raspberry, follow this guide to do so.

After that, you need to install PowerShell-IoT Module

Get Started

It's simple!

git clone https://github.com/DanielSSilva/PowerShell-IoT---IS31FL3730-Driver.git
cd ./PowerShell-IoT---IS31FL3730-Driver/
sudo pwsh (if not already on PowerShell)
Import-Module ./ScrollpHat.psm1 -Force
Write-PhatString "HELLO WORLD" -WaitMiliseconds 50 -forever $true

What's available so far?

  • Set the LEDs' brightness with Set-Brightness (Lowest, Low, Medium, High or Highest)

  • Turn the leds off with Set-LedsOff

  • Write some letters (a string) with Write-String. By default, the text is scrolled forever, unless specified otherwise (by passing $false as second parameter)

Example

Any suggestion/contribution is really welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published