Skip to content

Instantly share code, notes, and snippets.

View Josverl's full-sized avatar

Jos Verlinde Josverl

View GitHub Profile
at_spi_write('AT+CWMODE=1\r\n', 13, 500)
at_spi_read ('OK\r\n', 4, 500)
at_spi_write('AT+CWMODE?\r\n', 12, 500)
at_spi_read ('+CWMODE:1\r\nOK\r\n', 15, 500)
at_spi_write('AT+CWQAP\r\n', 10, 500)
at_spi_read ('OK\r\n', 4, 500)
at_spi_write('AT+CWMODE?\r\n', 12, 500)
at_spi_read ('+CWMODE:1\r\nOK\r\n', 15, 500)
at_spi_write('AT+CWQAP\r\n', 10, 500)
at_spi_read ('OK\r\n', 4, 500)
@Josverl
Josverl / axp192.py
Created October 6, 2021 00:23 — forked from ropg/axp192.py
Pure python driver for AXP192 Power Management IC
# Python driver for the AXP192 Power Management IC.
#
# https://gist.github.com/ropg/7216ba90a9d7697114d4ba8aea7bee3c
#
# Written in 2021 by Rop Gonggrijp.
#
# Some functionality inspired by C driver written by Mika Tuupola
# (https://github.com/tuupola/axp192) and a fork of that maintained by
# Brian Starkey (https://github.com/usedbytes/axp192)
#
Let [tag] = any tag in upstream repo
git fetch upstream --tags
git push origin --tags