I make some 3D Printers with 3D printers.
- Nozzle: 1.2 mm
#!/usr/bin/env ruby | |
# coding: utf-8 | |
# 目的 (Purpose): メルカリで暗号資産取引をしている人の確定申告 (Japanese tax return) | |
# 使い方 (Usage): LANG=ja_JP.UTF-8 ruby mercari.rb report_2024?.csv report_20241?.csv | |
# 出力CSVファイル: btc_buy.csv, btc_sel.csv, eth_buy.csv, eth_sel.csv を開いて計算された値を国税庁の総平均法用002.xlsxにコピペ | |
# Author: Takeshi Nishimatsu | |
# Licence: GPLv3 | |
# 完全無保証: 税務署に怒られてもしりません | |
# 参考: | |
# https://help.jp.mercari.com/guide/articles/1513/ メルカル ビットコイン取引 取引報告書・損益計算方法 |
先日、無謀にも mrubyファミリ (組み込み向け軽量Ruby) Advent Calendar 2024 向けに mrubyをC言語のシミュレーションのプログラムに組み込んでDSLとして利用する という記事を書いてしまいました。 このgist文章はそのC++言語版かもしれません。
C++のクラスは小難しい構造体にすぎないので、
# CoreXY printer.cfg for EasyThreeD ET4000+ board | |
# * CoreXY | |
# * Sherpa Heavy like extruder | |
# I use ET4000+ main board for my CoreXY printer project. | |
# ET4000+ is MKS Robin Lite compatible. | |
# Motor ampere can be controlled via pwm pins: PB0 (xy), PA7(z) and PA6 (extruder). | |
# Original file is https://github.com/makerbase-mks/Klipper-for-MKS-Boards/blob/main/MKS%20Robin%20Lite%20V1.1/generic-mks-robin-lite-v1.cfg | |
# The firmware binary is also in the same GitHub directory. |
# printer.cfg for EasyTheeD ET-4000 V2 | |
# * CoreXY | |
# * Proximity sensor | |
# * Sherpa Micro with NEMA14 motor | |
## | |
[include mainsail.cfg] | |
[mcu] | |
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 | |
restart_method: command |
# CoreXY printer.cfg for EasyThreeD ET4000+ board | |
# I use ET4000+ main board for my CoreXY printer project. | |
# ET4000+ is MKS Robin Lite compatible. | |
# Motor ampere can be controlled via pwm pins: PB0, PA7 and PA6. | |
# Original file is https://github.com/makerbase-mks/Klipper-for-MKS-Boards/blob/main/MKS%20Robin%20Lite%20V1.1/generic-mks-robin-lite-v1.cfg | |
# The firmware binary is also in the same GitHub directory. | |
# To use this config, the firmware should be compiled for the | |
# STM32F103RCT6. When running "make menuconfig", enable "extra low-level | |
# configuration setup", select the 28KiB bootloader, and serial (on |
USBtiny is a writer/reader for in-system programming (ISP) or in-circuit serial programming (ICSP) for AVR. Although there is no drivers for Windows 10 nor 11, we can still use USBtiny with Linux. My USBtiny is HP-AUSB-ISP.
I could write some programs into some boards through a 6-pin cable/connector:
電源電圧の違いなどでKlipperな3Dプリンターを複数のメインボードでコントロールしたい場合がある。 メインボードの1つとしてATmega328pなArduino UNOとCNC Shieldを使用する方法のメモ。 2024年3月現在Ubuntu 22.04 LTSやDebian 12 Bookwormに入っている avr-gcc 5.4.0を使うと遭遇するエラーの回避方法を書いた。 完全無保証。
この文章のオリジナルは https://gist.github.com/t-nissie/81bc471cd543e92d5cd1c3d36474c8b1 にある。