Skip to content

Instantly share code, notes, and snippets.

@robertinant
robertinant / TimerInterrupts.ino
Last active April 5, 2024 02:06
Tiva C Timer Interrupts
#include <stdint.h>
#include <stdbool.h>
#define PART_TM4C123GH6PM
#include "inc/tm4c123gh6pm.h"
/*****************************
* LM4F120 - timer based blink
* Using TimerIntRegister
* 80 Mhz clock
@robertinant
robertinant / DRV8897MotorControl.ino
Created April 8, 2014 16:18
DRV8897 Motor Driver Sketch
/*
DRV8897MotorControl
The basic Energia example that illustrates how to control a motor using the DRV8897
Hardware Required:
* LaunchPad + DRV8897_BOOST BoosterPack
This example code is in the public domain.
*/
@robertinant
robertinant / CapTouch.cpp
Created June 16, 2012 11:25
MSP430 Energia CapTouch library
/*
************************************************************************
* CapTouch.cpp
*
* Energia core files for MSP430
* Copyright (c) 2012 Robert Wessels. All right reserved.
*
*
***********************************************************************
Copyright (c) 2012 Robert Wessels. All right reserved.