- list 1
- list 1.1
- Italic
- Bold
Strike-through(not work)- link
inline code
| # Digital Watch Face | |
| # | |
| # Author: Tony Goodhew (28th January 2023) | |
| # Updates: Toby Roberts, Andrew Scheller & Alasdair Allan (March 2023) | |
| # | |
| # Original code taken from https://www.instructables.com/Digital-Watch-Display-MicroPython/ | |
| from machine import Pin,I2C,SPI,PWM | |
| import framebuf | |
| import time |
The Brother PTP300BT label maker is intended to be controlled using the official Brother P-Touch Design & Print iOS/Android app. The app has arbitrary limits on what you can print (1 text object and up to 3 preset icons), so I thought it would be a fun challenge to reverse engineer the protocol to print whatever I wanted.
Python code at the bottom if you want to skip the fine details.
Intitially I had a quick peek at the Android APK to see if there was any useful information inside. The code that handles the communication with the printer in Print&Design turned out to be a native library, but the app clearly prepares a bitmap image and passes it to this native library for printing. Bitmaps are definitely something we can work with.
- CARTA HOLDINGS(旧VOYAGE GROUP)
- 技術広報が新卒研修<Open AIハッカソン>をスパイしてみた - (2023/04/11)
- @t_wadaに学ぶテスト駆動開発【CARTA 23新卒研修】 - (2023/04/19)
- 【新卒研修】監修者@t_wadaと読む!プログラマが知るべき97のこと読書会 - (2024/04/09)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
- Classi 2025年新卒エンジニア研修「そーだい塾」を開催しました - (2025/06/18)
- CyberZ
Raspberry Pi 3 B+ を NOOBS 1.92からセットアップ直後からスタートする。
利用するGPS製品ははこれ
GPS受信機キット 1PPS出力付き 「みちびき」対応: センサ一般 秋月電子通商 電子部品 ネット通販
Vcc GND Txd Rxd と 1pps出力の5線あるうち1pps出力以外の4線を利用する。
Vcc に 5V、TxdとRxdは3.3VでOK
| #!/bin/bash | |
| # | |
| # This version uses September 2017 august stretch image, please use this image | |
| # | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Must be root" | |
| exit | |
| fi |
| 日時: | 2016-01-23 |
|---|---|
| 作: | @voluntas |
| バージョン: | 0.1.2 |
| url: | https://voluntas.github.io/ |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1, initial-scale=1.0, user-scalable=no"> | |
| <title>map</title> | |
| <style> | |
| html, body, #map-canvas {height: 97%; margin: 0; padding: 0} | |
| table {border-collapse:collapse; margin:0; padding:0} | |
| tr, td {margin:0; padding:0} |
The plan is to create a pair of executables (ngrok and ngrokd) that are connected with a self-signed SSL cert. Since the client and server executables are paired, you won't be able to use any other ngrok to connect to this ngrokd, and vice versa.
Add two DNS records: one for the base domain and one for the wildcard domain. For example, if your base domain is domain.com, you'll need a record for that and for *.domain.com.
