Skip to content

Instantly share code, notes, and snippets.

View GOROman's full-sized avatar
😀
Good

GOROman GOROman

😀
Good
  • XVI Inc.
  • Japan
  • 07:27 (UTC +09:00)
  • X @GOROman
View GitHub Profile
@GOROman
GOROman / M5NanoC6_Test.c
Last active March 22, 2024 05:46
M5NanoC6 + PlatformIO + ESP-IDF で Lチカ
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_task_wdt.h"
#include "driver/gpio.h"
TaskHandle_t loopTaskHandle = NULL;
@GOROman
GOROman / main.cpp
Created September 10, 2023 03:45
stack-chan Super Slim
#include <M5Unified.h>
#include <Avatar.h>
using namespace m5avatar;
Avatar avatar;
#define SERVO_PIN_A 21
#define SERVO_PIN_B 22
void setup()
@GOROman
GOROman / StampS3FPVMemo.md
Last active June 10, 2023 13:08
StampS3FPV Memo

StampS3FPV (#StampS3FPV)

GPIO

Pin Desc.
G0 Button
G7 Motor FL
G1 Motor FR
G12 Motor RL
@GOROman
GOROman / ELRS_TX_SimpleCode.cpp
Created June 5, 2023 11:15
ExpressLRS - ELRS TX Simple Code for ESP32
#include <M5Stack.h>
#define PACKED __attribute__((packed))
#define SERIAL_BAUDRATE 420000 // ELRS モジュールの通信速度
#define GPIO_PIN_RCSIGNAL_TX 21 // ELRS TX モジュールとの接続ピン(半二重)
#define GPIO_PIN_RCSIGNAL_RX 21 // ELRS TX モジュールとの接続ピン(半二重)
@GOROman
GOROman / EdgeTXBoot.md
Created June 4, 2023 06:09
EdgeTX の起動シーケンス

opentx.cpp:main()

int main()
{
  /* Ensure all priority bits are assigned as preemption priority bits. */
  NVIC_PriorityGroupConfig( NVIC_PriorityGroup_4 );

  boardInit();
@GOROman
GOROman / KoeiroTest.py
Created June 4, 2023 02:41
Koeiro API を Pythonで使う
import urllib.request
import json
import base64
import pprint
# Koeiro パラメータ
text = 'スロットルをオフにして'
speaker_x = 1.5
speaker_y = 1.5
style = 'talk' # 喜怒哀楽を指定できる
@GOROman
GOROman / HowToBuildEdgeTX.md
Last active June 4, 2023 03:37
EdgeTX のファームウェアを Mac でビルドする

EdgeTX のファームウェアを Mac でビルドする

開発環境インストール

Xcode など入っている前提

aqt / Qt のインストール

~~aqtinstall とは Another Qt installer(aqt)

@GOROman
GOROman / ELRS_RX_SimpleCode.cpp
Last active June 5, 2023 11:52
ExpressLRS(ELRS) ESP32 受信テストコード
// ELRS受信テスト
#include <Arduino.h>
#define ELRS_RX_PIN 21
#define ELRS_TX_PIN 22
#define ELRS_BAUD 420000
#define CRSF_DEVICEADDR_FC 0xC8
#define CRSF_FRAME_LENGTH 24
@GOROman
GOROman / CRSFProtocol.md
Last active February 18, 2024 14:41
ExpressLRS / CRSF Protocol 解析メモ
@GOROman
GOROman / TBSFusionMemo.md
Last active June 4, 2023 14:53
TBS Fusion 解析メモ

TBS Fusion 解析メモ (by @GOROman)

TBS Fusionを解析しているので覚書

TBS Fusion とは?

FPVドローン用の5.8GHz帯映像レシーバー。主にFPVゴーグルに接続して使う。他のレシーバー同様ダイバーシティアンテナで2系統のアンテナ入力がある。