Skip to content

Instantly share code, notes, and snippets.

View hannorein's full-sized avatar

Hanno Rein hannorein

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hannorein
hannorein / rebound_starlink.ipynb
Created October 24, 2019 14:30
Starlink in REBOUND
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1.000000000000000000e+00
1.660114153054348795e-07
2.447838287784771540e-06
3.040432648022642030e-06
3.227156037554997664e-07
9.547919152112404250e-04
2.858856727222416731e-04
4.366243735831270249e-05
5.151383772628674303e-05
7.361781606089468627e-09
1.000000000000000000e+00
1.660114153054348795e-07
2.447838287784771540e-06
3.040432648022642030e-06
3.227156037554997664e-07
9.547919152112404250e-04
2.858856727222416731e-04
4.366243735831270249e-05
5.151383772628674303e-05
7.361781606089468627e-09
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import time
lowpins = []
for i in [0,16,5,4]:
lowpins.append(machine.Pin(i, machine.Pin.OUT))
highpins = []
for i in [14,12,13,15]:
highpins.append(machine.Pin(i, machine.Pin.IN))
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.