Skip to content

Instantly share code, notes, and snippets.

View Judiths's full-sized avatar
🐳
Focusing

Judiths Judiths

🐳
Focusing
View GitHub Profile
@Judiths
Judiths / main.c
Created July 25, 2014 11:13
Serial debugging for TM4C123gh6pm
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "driverlib/uart.h"
#include "driverlib/gpio.h"
#include "inc/hw_ints.h"
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "inc/hw_gpio.h"
#include "driverlib/interrupt.h"
<%
Response.buffer=true
dim count
count=request.cookies("cc")
if count>"0" then
count=count+1
response.write("It's "&count&"times to visit!")
else
count=1
response.write("Welcome to your first visiting!")