Skip to content

Instantly share code, notes, and snippets.

@dj1711572002
dj1711572002 / VB.NET DataGridView Row Editing
Last active March 25, 2021 22:01
VB.NET DataGridView Row Editing Mouse RightButtonClick COntextMenuSprit -Insert,Delete,Copy,Paste-
Private Sub Form1_Activated(sender As Object, e As EventArgs) Handles Me.Activated
'----------DGV contetmenustrip add--------------------
cMenu1 = New ContextMenuStrip()
cMenu1.Items.Add("Insert", Nothing, New System.EventHandler(AddressOf Rinsert))
cMenu1.Items.Add("Delete", Nothing, New System.EventHandler(AddressOf Rdelete))
cMenu1.Items.Add("Copy", Nothing, New System.EventHandler(AddressOf Rcopy))
cMenu1.Items.Add("Paste", Nothing, New System.EventHandler(AddressOf Rpaste))
'------ETC---
End Sub
@dj1711572002
dj1711572002 / M5Sack_SkiController_sdAnalysys_1secPlot_rev16.ino
Created March 23, 2021 16:49
Ski Turn Analyzer M5Stack Monior Program
#include <M5Stack.h>
#include <esp_now.h>
#include <WiFi.h>
esp_now_peer_info_t slave;
#include "SD.h"
#define MAGENTA 0xF81F
#define GREENYELLOW 0xAFE5 /* 173, 255, 47 */
#define YELLOW 0xFFE0 /* 255, 255, 0 */
#define WHITE 0xFFFF /* 255, 255, 255 */
#define FORMAT_SPIFFS_IF_FAILED true
@dj1711572002
dj1711572002 / SKI_NAV-PVT_RELPOSNED_SkiPictures_rev016.vb
Created March 5, 2021 21:43
VB.net RTK-Analyzer RTK-SKI-MotionData vs MP4 Frame Picture Asynchronized
'Serial Port Recieve Sample Program
'Form1 Object must create ,button1,2 & textbox 1,2 
Imports System.Drawing.Image.FromFile
Imports System.IO.Ports
Imports Microsoft.VisualBasic.FileIO
Imports System.IO
Imports System.Text
Imports System.Collections
@dj1711572002
dj1711572002 / ESP-NOW _1stTEST.ino
Last active February 14, 2021 01:38
M5StickC_ESP-NOW _1stTEST
#include <M5StickC.h>
#include <esp_now.h>
#include <WiFi.h>
esp_now_peer_info_t slave;
// 送信コールバック
void OnDataSent(const uint8_t *mac_addr, esp_now_send_status_t status) {
  char macStr[18];
  snprintf(macStr, sizeof(macStr), "%02X:%02X:%02X:%02X:%02X:%02X",
@dj1711572002
dj1711572002 / ALES_M5Stick_ALES_DEMO_Acount_GPS-GGAtxtsave_rev005.ino
Created February 7, 2021 00:26
M5StickC NTRIP_CATER_ReCIver_With GPS Module_GGA getting
//ALES_M5Stick_NewBizStatio_GGA_TEST__rev000.ino
/*
* NTRIP client for Arduino Ver. 1.0.0
* NTRIPClient Sample
* Request Source Table (Source Table is basestation list in NTRIP Caster)
* Request Reference Data
@dj1711572002
dj1711572002 / ALES_M5Stick_ALES_DEMO_Acount_GGA_GPS-SPIFFS__rev002.ino
Created January 30, 2021 22:31
M5StickC NTRIP server connection with GGA sentence in SPIFFS FLASH Pgm rev02
//ALES_M5Stick_ALES_DEMO_Acount_GGA_GPS-SPIFFS__rev002.ino
/*
* NTRIP client for Arduino Ver. 1.0.0
* NTRIPClient Sample
* Request Source Table (Source Table is basestation list in NTRIP Caster)
* Request Reference Data
@dj1711572002
dj1711572002 / SKI_AtomicTF_F9P_ESPNowMonOK_rev02.ino
Created January 28, 2021 01:06
M5ATOMIC TF RTK-MovingBase LOG SYSTEM rev02
//M5Atom-F9P_MovingBaseSend_Serial2_ESP-NOW_Add_Serial1_rev01.ino
//#include <M5StickC.h>
#include<M5Atom.h>
#include <BluetoothSerial.h>
#include <esp_now.h>
#include <WiFi.h>
#include <SPI.h>
#include "FS.h"
#include "SD.h"
#include "esp_http_client.h"
@dj1711572002
dj1711572002 / AtomicTF_org_FSZ_WebWrite_rev00.ino
Created January 26, 2021 05:55
M5ATOM_SD CARD SYSTEM_ Upload SD FILE to WebServer _AtomicTF_org_FSZ_WebWrite_rev00
/* Open Serial Monitor to view result*/
//#include "M5StickC.h"
#include "M5Atom.h"
//#include <M5Stack.h>
#include <SPI.h>
#include "FS.h"
#include "SD.h"
#include <WiFi.h>
#include "esp_http_client.h"
//----------------------------------------
@dj1711572002
dj1711572002 / M5StickC_SPIFFS_WebServer-Write.ino
Last active January 26, 2021 04:38
M5StickC-SPIFFS File copy to Web Server ,on PC Teraterm
#include <M5StickC.h>
#include "FS.h"
#include "SPIFFS.h"
#include <WiFi.h>
#include "esp_http_client.h"
//
char file_name[20] = "/test1.txt";
int var_size = 2000;
const char* ssid = "YourWifi SSID";//SSID
const char* password = "WiFi PASS";//PASS
@dj1711572002
dj1711572002 / WebServer_writefile_M5Stack_SDFile
Created January 23, 2021 21:08
M5Stack-SD_FIle_WriteFile_to_WebServer
//#include <M5StickC.h>
#include <M5Stack.h>
#include <WiFi.h>
#include "SD.h"
#include "esp_http_client.h"
//SPIClass SPI2;
//File file;
//===DEF:SD FILE============
File file;