Skip to content

Instantly share code, notes, and snippets.

Avatar

Bryan Duxbury bryanduxbury

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bryanduxbury on github.
  • I am bryanduxbury (https://keybase.io/bryanduxbury) on keybase.
  • I have a public key ASDxRuCEfKcbqoW1yEMePXOPIFBdhMfAT4ul9Gxv03ZWMwo

To claim this, I am signing this object:

View gist:8468634
convert 'frame*.png' -set delay 1x24 animated.gif
View curved_triangle.scad
module curved_triangle(r, pitch, separation, gap) {
assign(num_steps = 36)
assign(top_d = pitch - 2 * separation)
assign(bottom_d = triangle_tip_width)
assign(delta = top_d - bottom_d)
assign(d_incr = delta / (num_steps-1))
assign(b_incr=116/(num_steps - 1))
render()
for (i=[0:(num_steps-2)]) {
hull() {
View PWMTest.ino
void setup() {
pinMode(2, OUTPUT);
}
void loop() {
while (true) {
PORTD = 4;
delayMicroseconds(100);
PORTD = 0;
delayMicroseconds(900);
View gist:6737031
/var/folders/kw/bmc5ytz17fsc8gmf6wtlv8tc0000gn/T/build8564835397500217407.tmp/firmware.cpp.o: file format elf32-avr
Disassembly of section .text._Z4testPhh:
00000000 <_Z4testPhh>:
0: 26 2f mov r18, r22
2: 26 95 lsr r18
4: 26 95 lsr r18
You can’t perform that action at this time.