Skip to content

Instantly share code, notes, and snippets.

View dhahaj's full-sized avatar

Daniel dhahaj

View GitHub Profile
@dhahaj
dhahaj / Embedded Resources.md
Last active June 30, 2023 19:21
Embedded Resources

LIST of BOOKS

The following is a list of books and magazines that might be useful for your electronics and/or microcontroller hobby.

This list should be viewed as a starting point of books to consider, instead of a list of mandatory books that you must read.

This list is considered a "live document" that will change over time.


/**
* @file crc.c
* @version 0.1
* @date 2023-04-15
*
* @note The parameters for each supported CRC standard are
* defined in the header file crc.h. The implementations
* here should stand up to further additions to that list.
*
*/
@dhahaj
dhahaj / hc-sr04.py
Created July 8, 2018 23:44
Python script for testing the HC-SR04 distance sensor.
import RPi.GPIO as GPIO #Import GPIO library
import time #Import time library
GPIO.setmode(GPIO.BCM) #Set GPIO pin numbering
TRIG = 19 #Associate pin 23 to TRIG
ECHO = 26 #Associate pin 24 to ECHO
print("Distance measurement in progress")
GPIO.setup(TRIG, GPIO.OUT) #Set pin as GPIO out
#!/usr/bin/python
#--------------------------------------
# ___ ___ _ ____
# / _ \/ _ \(_) __/__ __ __
# / , _/ ___/ /\ \/ _ \/ // /
# /_/|_/_/ /_/___/ .__/\_, /
# /_/ /___/
#
# bmp180.py
# Read data from a digital pressure sensor.
@dhahaj
dhahaj / TesterInterface_v2.0.1-master.zip
Last active January 5, 2018 16:40
TesterInterface_v2.0.1
https://github.com/dhahaj/TesterInterface_v2.0.1/archive/master.zip
@dhahaj
dhahaj / firmware.zip
Created July 18, 2017 23:31
ER firmware Link
https://github.com/dhahaj/ER_FIRMWARE/zipball/master