-
For MacroFab Design Contest: Useless Machine
07/31/2019 at 22:16 • 0 commentsReally I have no idea what you can do with this ...
-
Files ready on github
05/07/2019 at 13:05 • 0 commentsDesign files https://github.com/bobricius/AntHighway
-
Attiny10 source code :D
04/14/2019 at 14:32 • 0 commentsThis is first run, just one direction and speed switching :) very simple code
#include <avr/io.h> #include <stdint.h> int __attribute__ ((section (".noinit"))) speed; int main (void) { DDRB = 0b0111; // all out PORTB = 0b0000; speed=speed+4; if ((speed > 20)||(speed < 1)) { speed=5; } while (1) { PORTB = 0b0001; wait(); PORTB = 0b0011; wait(); PORTB = 0b0010; wait(); PORTB = 0b0110; wait(); PORTB = 0b0100; wait(); PORTB = 0b0101; wait(); } } void wait () { delay (speed); PORTB = 0b0000; } void delay (int millis) { for (volatile unsigned int i = 34*millis; i>0; i--); }
-
Detail of coil configuration
04/13/2019 at 07:49 • 0 commentsEasy ?
-
Schematic
04/13/2019 at 07:48 • 0 comments