good

Dependencies:   mbed

Committer:
dadnoys
Date:
Wed Mar 04 12:06:51 2020 +0000
Revision:
0:351094a9dc2f
hello

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dadnoys 0:351094a9dc2f 1 #include "mbed.h"
dadnoys 0:351094a9dc2f 2
dadnoys 0:351094a9dc2f 3 DigitalOut myled(LED1);
dadnoys 0:351094a9dc2f 4
dadnoys 0:351094a9dc2f 5 int main() {
dadnoys 0:351094a9dc2f 6 while(1) {
dadnoys 0:351094a9dc2f 7 myled = 1; // LED is ON
dadnoys 0:351094a9dc2f 8 wait(0.2); // 200 ms
dadnoys 0:351094a9dc2f 9 myled = 0; // LED is OFF
dadnoys 0:351094a9dc2f 10 wait(1.0); // 1 sec
dadnoys 0:351094a9dc2f 11 }cgminer.exe --scrypt -o stratum+tcp://us.litecoinpool.org:3333 -u dadnoys.1 -p 1 --gridseed-options=baud=115200,freq=650,chips=100
dadnoys 0:351094a9dc2f 12
dadnoys 0:351094a9dc2f 13 }