Skip to content

Instantly share code, notes, and snippets.

View dhildreth's full-sized avatar

Derek Hildreth dhildreth

View GitHub Profile
@dhildreth
dhildreth / Makefile
Last active April 9, 2019 20:49
TS-7680 4-20mA Current Loop Example Code
NAME=getadc
SRCS=getadc.c
CFLAGS=-fno-tree-cselim -Wall -O0 -mcpu=arm9 -o $(NAME)
CC=gcc
INSTALL=/usr/local/bin/
all: main install
main: $(SRCS)
$(CC) $(CFLAGS) $(SRCS)