This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This example simply takes the small Proj1 board and panelizes | |
# it in a 2x4 array. To demonstrate rotation, the second column | |
# consists of rotated jobs. You wouldn't really do it this way, | |
# of course, as it wastes space. | |
# use notepad to edit this | |
Row { | |
input_gerber1 | |
Col { | |
Row { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ossiobc.h" | |
#include "wdt.h" | |
#include "timerB.h" | |
/* | |
* main.c | |
*/ | |
int main(void) { | |
wdt_hold(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* clock.c | |
* | |
* Created on: 2013. 1. 16. | |
* Author: OSSI | |
*/ | |
#include "clock.h" | |
// main clock will be shared via system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* clock.c | |
* | |
* Created on: 2013. 1. 14. | |
* Author: OSSI | |
*/ | |
#include"clock.h" | |
// main clock will be shared via system | |
static volatile uint8_t clockMode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* adc12.c | |
* | |
* Created on: 2013. 1. 16. | |
* Author: OSSI | |
*/ | |
#include "adc12.h" | |
void adc12_portSetup(uint8_t ports) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ossiobc.h" | |
#include "adc12.h" | |
/* | |
* main.c | |
*/ | |
uint16_t adcValueVccRef[7]={0}; | |
uint16_t adcValueIntRef[7]={0}; | |
uint16_t adcValueExtRef[7]={0}; | |
int main(void) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* adc12.c | |
* | |
* Created on: 2013. 1. 16. | |
* Author: OSSI | |
*/ | |
#include "adc12.h" | |
void adc12_portSetup(uint8_t ports) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* clock.c | |
* | |
* Created on: 2013. 1. 16. | |
* Author: OSSI | |
*/ | |
#include "clock.h" | |
// main clock will be shared via system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ossiobc.h" | |
#include "flash.h" | |
uint8_t data[128] ={0}; | |
uint8_t flashData[128] ={0}; | |
int main(void) | |
{ | |
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer |
NewerOlder