On Github southwolf / SFD2013_OpenHardware
SouthWolf ( Song Fei )
Weibo: @southwolf1813
Credit-card Sized Computer
Single-board Microprocessor with Great Toolsets
void main(void) { WDTCTL = WDTPW + WDTHOLD; // Password, and stop the timer P1DIR = 0x40; // P1 Direction is OUTPUT P1OUT = 0; // P1 OUTPUT low BCSCTL3 |= LFXT1S_2; // VLO IFG1 &= ~OFIFG; // Use DCO if clock fault _bis_SR_register(SCG1 + SCG0); //stop DCO to wait for VLO BCSCTL2 |= SELM_3 + DIVM_3; while(1) { P1OUT = 0x40; _delay_cycles(100); P1OUT = 0; _delay_cycles(5000); } }
void setup() { pinMode(RED_LED, OUTPUT); } void loop() { digitalWrite(RED_LED, HIGH); // turn the LED on delay(1000); // wait for a second digitalWrite(RED_LED, LOW); // turn the LED off delay(1000); // wait for a second }
A small, cheap, stackable Arduino
Arduino powered Quadcopter
3D printing Shells!
Thanks www.BaoZouManHua.com and @ShiningRay
Made by hand with reveal.js
Contact Me
Weibo: @southwolf1813