ID115
product url
details
- nordic nrf51802_qfaa processor (16k ram, 256k flash)
- 16MHz crystal oscillator
#!/usr/bin/env python3 | |
''' | |
script to upload firmware to FlashForge Dreamer (or PowerSpec Ultra3D) printers | |
''' | |
import usb | |
import hashlib | |
printer = usb.core.find(idVendor=0x2b71) | |
CONTROL_EP = 0x01 |
install latest crmpoint fw per: | |
https://community.ui.com/questions/Installing-airControl-on-CRM-Point/a4f1fdcd-114a-4c06-a842-e56eff486570 | |
# login via ssh | |
# change root/ubnt password | |
passwd | |
# fix jessie backports repo | |
echo "deb http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list |
#!/usr/bin/env python3 | |
""" reads and parses sensor data from ypyt cloud for given device token """ | |
# see https://github.com/xoseperez/espurna/issues/1644 for more context | |
import json | |
import os | |
import sys | |
import paho.mqtt.client as mqtt | |
import time as t |
worker_processes 1; | |
error_log logs/error.log; | |
events { | |
worker_connections 1024; | |
} | |
stream { | |
lua_shared_dict config 10m; |
ID115 | |
settings write on uuid 0x0af6 to device: | |
responses read on uuid 0x0af7 (notify?) | |
------ | |
startup - scan: | |
> 0204 | |
< Value: 0204f2fc581240a6 | |
> Value: 0202 | |
< Value: 02025b0a8f01076d6b050f06 |
;Allocation info for local variables in function '_delay_ms_old' | |
;------------------------------------------------------------ | |
;ms Allocated to registers r7 | |
;i Allocated to registers r6 | |
;j Allocated to registers r5 | |
;------------------------------------------------------------ | |
; src/blinky.c:26: void _delay_ms_old(unsigned char ms) | |
; ----------------------------------------- | |
; function _delay_ms_old | |
; ----------------------------------------- |
// adapted from http://www.dfrobot.com/wiki/index.php?title=GPS_Module_With_Enclosure_%28SKU:TEL0094%29 | |
// | |
#include <TinyGPS.h> | |
#include <LiquidCrystal.h> | |
TinyGPS gps; | |
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); //LCD driver pins | |
int led = 13; | |
/*---------------------------------------------------------------------*/ | |
/* --- STC MCU Limited ------------------------------------------------*/ | |
/* --- To be downloaded from the ISP chip (limited STC15 series), for example using the main chip -----------------*/ | |
/* --- Mobile: (86)13922805190 ----------------------------------------*/ | |
/* --- Fax: 86-755-82905966 -------------------------------------------*/ | |
/* --- Tel: 86-755-82948412 -------------------------------------------*/ | |
/* --- Web: www.STCMCU.com --------------------------------------------*/ | |
/* If you want to use this code in the program, in the program, using the information and procedures specified macro crystal technology */ | |
/* If you want to quote this code in the article, please indicate in the article the use of information technology and procedures Wang Jing */ | |
/*---------------------------------------------------------------------*/ |