Skip to content

Instantly share code, notes, and snippets.

View zharfanw's full-sized avatar

M Zharfan Wiranata zharfanw

View GitHub Profile
@zharfanw
zharfanw / battery monitoring
Last active January 25, 2022 06:49
led pwmtest sample
from smbus import SMBus
import time
ManufacturerAccess =0x00
RemainingCapacityAlarm =0x01
RemainingTimeAlarm =0x02
BatteryMode =0x03
AtRate =0x04
AtRateTimeToFull =0x05
AtRateTimeToEmpty =0x06
@zharfanw
zharfanw / sampleREADME.md
Created January 8, 2020 06:59 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here