This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//**************************Processing Serial Recive & PlotGraph MultiCH data Sample *************************** | |
//*************************Shinshu-Makers 2020/06/01************************************************** | |
import processing.serial.*;//USB Serial library | |
PrintWriter output;//Filing library | |
int lf = 10; // Linefeed in ASCII | |
int cr=13; //Carriage Return in ASCII | |
String myString1 = null;//Recieved data as string 1st | |
Serial myPort1; // 1st serial port | |
int i,j; | |
String [] mystringArry1=new String[600000];//1stArray declaration Buffer memory recived 600K data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//**************************Processing PowerCalculation from CSV File *************************** | |
//*************************Shinshu-Makers 2020/06/18************************************************** | |
import processing.serial.*;//USB Serial library | |
//---JAVA SWING FIle read---- | |
import javax.swing.*; | |
int MAX_LINE =69000; | |
int MAX_CUE = 7; | |
int readN=0; | |
String getFile = null; | |
String[] datalines; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AD7194 EVAL Board mbed NUCLEO 432KC SPIIF Program | |
// Differential 1Ch AIN1(+) AIN2(-) | |
//2019/03/23 Shinshu-Makers | |
#include "mbed.h" | |
SPI ad7194 (PA_7,PA_6,PA_5); //NUCLEO L432KC MOSI, MISO, SCLK | |
DigitalOut CS(PA_4); // Chip select | |
//DigitalOut ADReset(p15); // Pin 15 is reset line for AD9850 | |
Serial pc(USBTX, USBRX); // tx, rx for debug terminal | |
Timer t; | |
int data,data0,data1,data2 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AD7194 EVAL Board mbed NUCLEO 432KC SPIIF Program | |
// Differential 1Ch AIN1(+) AIN2(-) | |
//2019/03/23 Shinshu-Makers | |
#include "mbed.h" | |
SPI ad7194 (PA_7,PA_6,PA_5); //NUCLEO L432KC MOSI, MISO, SCLK | |
DigitalOut CS(PA_4); // Chip select | |
//DigitalOut ADReset(p15); // Pin 15 is reset line for AD9850 | |
Serial pc(USBTX, USBRX); // tx, rx for debug terminal | |
Timer t; | |
int i,j,k; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pallav.Matrix.*; | |
//Processing Matrix Libraly | |
//Demonstrating use of some of the static Methods of library | |
// MatrixTEST00_pallav_Matrix_asampleUseCases.pde | |
// ==========Shinshu-Makers MatrixLibrary Study no1============================= | |
int m = 3, n = 2; | |
float[][] A={{1,1},{1,-1},{0,1}}; //A data array | |
float[][]B={ {4},{0},{1} }; //B const array | |
float[][] At=new float [n][m]; | |
float[][] AtA=new float[n][n];// Square Matrix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//AD7193 M5StickC SPI test ArduinoIDE | |
//"SCP_IMU_AD7193_BTSerial_rev11.ino" | |
//2020.07.20 Shinshu-Makers | |
#include <M5StickC.h> | |
#include <SPI.h> | |
#include <BluetoothSerial.h> | |
BluetoothSerial SerialBT; | |
uint64_t chipid; | |
char chipname[256]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5StickC.h> | |
#include <BluetoothSerial.h> | |
BluetoothSerial SerialBT; | |
uint64_t chipid; | |
char chipname[256]; | |
//====IMU============= | |
float accX = 0.0F; | |
float accY = 0.0F; | |
float accZ = 0.0F; | |
double AngX,AngY,AngZ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Serial Port Recieve Sample Program | |
'Form1 Object must create ,button1,2 & textbox 1,2 | |
Imports System.IO.Ports | |
Public Class Form1 | |
Delegate Sub DataDelegate(ByVal sdata As String) | |
Private Sub PrintData(ByVal sdata As String) | |
TextBox2.Text = sdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports Microsoft.Office.Interop | |
Public Class Form1 | |
'Keep the application object and the workbook object global, so you can | |
'retrieve the data in Button2_Click that was set in Button1_Click. | |
Dim objApp As Excel.Application | |
Dim objBook As Excel._Workbook | |
Private Sub Button1_Click(ByVal sender As System.Object, | |
ByVal e As System.EventArgs) Handles Button1.Click |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <M5StickC.h> | |
#include "FS.h" | |
#include "SPIFFS.h" | |
/* You only need to format SPIFFS the first time you run a | |
test or else use the SPIFFS plugin to create a partition | |
https://github.com/me-no-dev/arduino-esp32fs-plugin */ | |
#define FORMAT_SPIFFS_IF_FAILED true | |
void listDir(fs::FS &fs, const char * dirname, uint8_t levels){ |
OlderNewer