Changeset - 7f452f677255
[Not reviewed]
default
1 1 0
Ethan Zonca - 10 years ago 2014-08-24 00:48:43
ez@ethanzonca.com
Remove BSP
2 files changed with 0 insertions and 5 deletions:
0 comments (0 inline, 0 general)
bsp.h
Show inline comments
 
deleted file
ssd1306.c
Show inline comments
 
#include "stm32l100c_discovery.h"
 
#include "bsp.h"
 
#include "ssd1306.h"
 
 
// Write command to OLED
 
void WriteCommand(unsigned char command)
 
{
 
  SSD_A0_Low();
 
  SPI_SendByte(command);
 
  SPI_Wait();
 
}
 
 
// Write data to OLED
 
void WriteData(unsigned char data)
 
{
 
  SSD_A0_High();
 
  SPI_SendByte(data);
 
  SPI_Wait();
 
}
 
 
// Initialize OLED
 
void ssd1306_Init(void)
 
{
 
 
  /* Generate a reset */
 
  SSD_Reset_Low();
0 comments (0 inline, 0 general)