Skip to content

Instantly share code, notes, and snippets.

Shawwwn shawwwn

Block or report user

Report or block shawwwn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
shawwwn /
Last active Aug 31, 2019
µPing: Ping library for MicroPython
# µPing (MicroPing) for MicroPython
# copyright (c) 2018 Shawwwn <>
# License: MIT
# Internet Checksum Algorithm
# Author: Olav Morken
# @data: bytes
def checksum(data):
if len(data) & 0x1: # Odd number of bytes
You can’t perform that action at this time.