Skip to content

Instantly share code, notes, and snippets.

View Bjarten's full-sized avatar
👨‍💻
Being creative

Bjarte Mehus Sunde Bjarten

👨‍💻
Being creative
View GitHub Profile
@Bjarten
Bjarten / dc_motor_controller.cc
Last active December 15, 2015 17:10
dc_motor_controller
#define F_CPU 32000000UL
#include <asf.h>
#include <avr/io.h>
#include <util/delay.h>
// Function Declarations
void Config32MHzClock(void); // Skifter klokkehastighet
int main (void)