Skip to content

Instantly share code, notes, and snippets.

View ossicode's full-sized avatar

OSSI ossicode

View GitHub Profile
@ossicode
ossicode / global.h
Created December 17, 2012 13:43
ADF7012 based CW beacon TEST file (messy and copied and pasted) no credit specified yet.. sorr
/*
* global.h
*
* Created on: 2012. 6. 3.
* Author: donghee
*/
#ifndef GLOBAL_H_
#define GLOBAL_H_
@ossicode
ossicode / global.h
Created December 18, 2012 08:19
현재 출력주파수 145.919944 MHz 출력 13.23dBm Icp = 0.3mA, Xstal 19.2, R= 5, FDP=3.84, N= 37, Nfrac=4074
/*
* global.h
*
* Created on: 2012. 6. 3.
* Author: donghee
*/
#ifndef GLOBAL_H_
#define GLOBAL_H_
@ossicode
ossicode / aclkuart.c
Created December 20, 2012 10:30
ADF7012 Beacon Morse code working but the received sound has chops!!!
/*
* aclkuart.c
*
* Created on: 2012. 12. 19.
* Author: OSSI
*/
#include "aclkuart.h"
void puts(char *s) {
@ossicode
ossicode / aclkuart.c
Created December 21, 2012 11:37
GPS data reception and morse code sending in LPM3 mode
/*
* aclkuart.c
*
* Created on: 2012. 12. 19.
* Author: OSSI
*/
#include "aclkuart.h"
uint8_t uart_byte = '\0';
@ossicode
ossicode / aclkuart.c
Created December 21, 2012 12:02
Same gps receiving shit. data format with comma updated
/*
* aclkuart.c
*
* Created on: 2012. 12. 19.
* Author: OSSI
*/
#include "aclkuart.h"
uint8_t uart_byte = '\0';
@ossicode
ossicode / main.c
Created December 24, 2012 11:13
i2c uart same time test failed
/*
* main.c
*/
#include "ossibeacon.h"
#include "printf.h"
unsigned int RxByteCtr;
unsigned int RxWord;
@ossicode
ossicode / main.c
Created December 25, 2012 07:52
changed P3SEL but this was failed too
/*
* main.c
*/
#include "ossibeacon.h"
#include "printf.h"
unsigned int RxByteCtr;
unsigned int RxWord;
@ossicode
ossicode / main.c
Created December 26, 2012 06:46
LPM3 I2C and UART same time all clocks based on ACLK
/*
* main.c
*/
#include "ossibeacon.h"
#include "printf.h"
unsigned int RxByteCtr;
unsigned int RxWord;
@ossicode
ossicode / main.c
Created December 26, 2012 12:03
I2C, UART, ADC all using ACLK in LPM3 mode, working
/*
* main.c
*/
#include "ossibeacon.h"
#include "printf.h"
unsigned int RxByteCtr;
unsigned int RxWord;
@ossicode
ossicode / aclkuart.c
Created December 29, 2012 11:06
ADC module almost done
/*
* aclkuart.c
*
* Created on: 2012. 12. 19.
* Author: OSSI
*/
#include "aclkuart.h"
static volatile uint8_t uart_rx_flag = 0;
static volatile uint8_t rx_byte = '\0';