- 13" Macbook Pro 3.3 GHz i7 (late 2016)
- Microsoft Surface Book (2016)
- Dell up3216q 32" monitor
| #include "stm32f4xx_hal.h" | |
| #include "main.h" | |
| #include "spi.h" | |
| #include "usart.h" | |
| #define QUAN_SPI_BYTES 8 | |
| #define LIS3DSH_READ 0x80U | |
| #define LIS3DSH_WRITE 0x00U |
| #!/bin/bash | |
| cat $1 | grep '^IRA:' > $1_positions.csv | |
| sed -i -e 's/^.\+sat:/sat:/' -e 's/\( RAI\:.\+\)\|\(sat:\)\|\(beam:\)\|\(pos=(\)\|\()\)\|\(alt=\)\|\(+\)//g' -e 's%/%;%' -e 's/ /;/g' -e '/^00;00/d' -e 's/$/000/g' -e '/[0-9]\+;[0-9]\+;\([0-9]\+\|-[0-9]\+\).[0-9]\+;\([0-9]\+\|-[0-9]\+\).[0-9]\+;[0-9]\+/!d' $1_positions.csv | |
| awk -F ';' '($5<=100000){print}' $1_positions.csv > $1_positions_spotbeams.csv | |
| awk -F ';' '($5>100000){print}' $1_positions.csv > $1_positions_satellites.csv | |
| sed -i '1 i\satellite;beam;latitude;longitude;altitude' $1_positions*.csv |
The device is shipped with test firmware installed. To burn a proper firmware, you will need:
The instructions on the blog page are incorrect because Rev G hardware uses ATxmega128A4U instead of ATxmega32A4U. Why? Probably an outdated version of hardware.
| # Creating a GreatFET object implicitly opens the USB connection to the device. | |
| try: | |
| device = GreatFET() # Optionally accepts serialNo= to select between multiple GreatFETs. | |
| except DeviceNotFoundException: | |
| print("No device found!") | |
| sys.exit() | |
| # Once a connection is made, the board's ID is queried, and used to make the board's peripherals available. | |
| # (This either would be a factory method that produces an appropriate class, or a run-time mixin.) | |
| # For now, this would mean that objects are present on 'device' that allow access to each of the Azalea board's peripherals. |
| #!/bin/bash | |
| # source: http://www.haskell.org/pipermail/haskell-cafe/2011-March/090170.html | |
| sudo rm -rf /Library/Frameworks/GHC.framework | |
| sudo rm -rf /Library/Frameworks/HaskellPlatform.framework | |
| sudo rm -rf /Library/Haskell | |
| rm -rf .cabal | |
| rm -rf .ghc | |
| rm -rf ~/Library/Haskell |
| /* LoRa FeatherWing IOX Adafruit IO Gateway Example Program | |
| * By: Dan Watson | syncchannel.blogspot.com | |
| * Date: 3-12-2016 | |
| * Version: 0.1 Initial Release | |
| * | |
| * Example Adafruit IO Gateway Program for the LoRa FeatherWing IOX for Adafruit Feather | |
| * Tested with HUZZAH ESP8266 | |
| * | |
| * This program configures the Feather as a LoRa receiver and Adafruit IO Wi-Fi Gateway. | |
| * It is intended as a companion to the LoRA FeatherWing IOX Beacon Example Program. |
| /* LoRa FeatherWing IOX Tranceiver Mode Example Program | |
| * By: Dan Watson | syncchannel.blogspot.com | |
| * Date: 3-12-2016 | |
| * Version: 0.1 Initial Release | |
| * | |
| * Example Tranceiver Mode Program for the LoRa FeatherWing IOX for Adafruit Feather | |
| * Tested with Feather M0, 32U4 and HUZZAH ESP8266 | |
| * | |
| * This program configures the Feather as a LoRa receiver. It is intended as a companion | |
| * to the LoRA FeatherWing Beacon Example Program, and can receive the beacon messages. |
| /* LoRa FeatherWing IOX Beacon Mode Example Program | |
| * By: Dan Watson | syncchannel.blogspot.com | |
| * Date: 3-12-2016 | |
| * Version: 0.1 Initial Release | |
| * | |
| * Example Beacon Mode Program for the LoRa FeatherWing IOX for Adafruit Feather | |
| * Tested with Feather M0, 32U4, and HUZZAH ESP8266 | |
| * However, you only have one analog input on HUZZAH (1V input max!) | |
| * | |
| * This program configures the Feather as a transmit-only beacon. It transmits a payload of data |
| from PIL import Image | |
| import struct | |
| import sys | |
| imgsize = 128 | |
| img = Image.new('L', (imgsize, imgsize)) | |
| with open("lily.cfile", "rb") as f: | |
| while True: |