-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca9cd2b
commit 6ce1657
Showing
566 changed files
with
430,052 additions
and
913,043 deletions.
There are no files selected for viewing
Binary file not shown.
319,736 changes: 0 additions & 319,736 deletions
319,736
3D_printing/T-Stick(extension_kit)_0.2mm_PLA_MK3S_5h21m.gcode
This file was deleted.
Oops, something went wrong.
Binary file not shown.
584,119 changes: 0 additions & 584,119 deletions
584,119
3D_printing/T-Stick(sopranino_kit)_0.2mm_PLA_MK3S_8h42m.gcode
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.9 KB
...ibraries/Schematic_T-Stick-FSR-and-Piezo-Electronics_Sheet-1_20190523141905.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
8,568 changes: 8,568 additions & 0 deletions
8,568
Sopranino/2G/172/Configuration/2stick_Sopranino2G_eeprom_setup.maxpat
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// THIS NEEDS TO BE REVISED AND RE-IMPLEMENTED! | ||
// Calibration method only done if specified | ||
|
||
void calib(){ | ||
|
||
// delay(10); // Wait before the calibration. | ||
// int i =0; | ||
// int calib_x = 0; | ||
// int calib_y = 0; | ||
// int calib_z = 0; | ||
// for(i=0; i<100; i++) | ||
// { | ||
//// Serial.print("i = "); Serial.println(i); | ||
// readAccelerometer(); | ||
// calib_x += outxyz[0]; | ||
// calib_y += outxyz[1]; | ||
// calib_z += outxyz[2]; | ||
// delay(10); | ||
// } | ||
// | ||
// float cal_x = (float)calib_x/100; | ||
// float cal_y = (float)calib_y/100; | ||
// float cal_z = (float)calib_z/100; | ||
// calib_x = -(cal_x/4); | ||
// calib_y = -(cal_y/4); | ||
// calib_z = -((cal_z-256)/4); | ||
//// Serial.print("cal_x: ");Serial.println((byte)calib_x,BIN); | ||
//// Serial.print("cal_y: ");Serial.println((byte)calib_y,BIN); | ||
//// Serial.print("cal_z: ");Serial.println((byte)calib_z,BIN); | ||
// | ||
// writeTo(0x1E,(byte)calib_x); | ||
// writeTo(0x1F,(byte)calib_y); | ||
// writeTo(0x20,(byte)calib_z); | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#if ARDUINO >= 100 | ||
#include "Arduino.h" | ||
#else | ||
#include "WProgram.h" | ||
#endif | ||
|
||
template <class T> int EEPROM_writeAnything(int ee, const T& value) | ||
{ | ||
const byte* p = (const byte*)(const void*)&value; | ||
int i; | ||
for (i = 0; i < sizeof(value); i++) | ||
EEPROM.write(ee++, *p++); | ||
return ee; | ||
} | ||
|
||
template <class T> int EEPROM_readAnything(int ee, T& value) | ||
{ | ||
byte* p = (byte*)(void*)&value; | ||
int i; | ||
for (i = 0; i < sizeof(value); i++) | ||
*p++ = EEPROM.read(ee++); | ||
return ee; | ||
} |
Oops, something went wrong.