mirror of
https://github.com/LinoSchmidt/RoboterArm.git
synced 2026-03-20 18:21:16 +01:00
firmware in v1 verschoben
This commit is contained in:
64
Firmware V1.0/.vscode/c_cpp_properties.json
vendored
Normal file
64
Firmware V1.0/.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
//
|
||||
// !!! WARNING !!! AUTO-GENERATED FILE!
|
||||
// PLEASE DO NOT MODIFY IT AND USE "platformio.ini":
|
||||
// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
|
||||
//
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "PlatformIO",
|
||||
"includePath": [
|
||||
"d:/Projects/RoboterArm/include",
|
||||
"d:/Projects/RoboterArm/src",
|
||||
"d:/Projects/RoboterArm/.pio/libdeps/leonardo/Servo/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/cores/arduino",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/variants/leonardo",
|
||||
"d:/Projects/RoboterArm/lib/examples",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/EEPROM/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/HID/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/SPI/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/SoftwareSerial/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/Wire/src",
|
||||
""
|
||||
],
|
||||
"browse": {
|
||||
"limitSymbolsToIncludedHeaders": true,
|
||||
"path": [
|
||||
"d:/Projects/RoboterArm/include",
|
||||
"d:/Projects/RoboterArm/src",
|
||||
"d:/Projects/RoboterArm/.pio/libdeps/leonardo/Servo/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/cores/arduino",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/variants/leonardo",
|
||||
"d:/Projects/RoboterArm/lib/examples",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/EEPROM/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/HID/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/SPI/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/SoftwareSerial/src",
|
||||
"C:/Users/linos/.platformio/packages/framework-arduino-avr/libraries/Wire/src",
|
||||
""
|
||||
]
|
||||
},
|
||||
"defines": [
|
||||
"PLATFORMIO=50204",
|
||||
"ARDUINO_AVR_LEONARDO",
|
||||
"F_CPU=16000000L",
|
||||
"ARDUINO_ARCH_AVR",
|
||||
"ARDUINO=10808",
|
||||
"USB_VID=0x2341",
|
||||
"USB_PID=0x8036",
|
||||
"USB_PRODUCT=\"Arduino Leonardo\"",
|
||||
"USB_MANUFACTURER=\"Arduino\"",
|
||||
"__AVR_ATmega32U4__",
|
||||
""
|
||||
],
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++11",
|
||||
"compilerPath": "C:/Users/linos/.platformio/packages/toolchain-atmelavr/bin/avr-gcc.exe",
|
||||
"compilerArgs": [
|
||||
"-mmcu=atmega32u4",
|
||||
""
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
44
Firmware V1.0/.vscode/launch.json
vendored
Normal file
44
Firmware V1.0/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY
|
||||
//
|
||||
// PIO Unified Debugger
|
||||
//
|
||||
// Documentation: https://docs.platformio.org/page/plus/debugging.html
|
||||
// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html
|
||||
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "platformio-debug",
|
||||
"request": "launch",
|
||||
"name": "PIO Debug",
|
||||
"executable": "d:/Projects/RoboterArm/.pio/build/leonardo/firmware.elf",
|
||||
"projectEnvName": "leonardo",
|
||||
"toolchainBinDir": "C:/Users/linos/.platformio/packages/toolchain-atmelavr/bin",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": {
|
||||
"type": "PlatformIO",
|
||||
"task": "Pre-Debug"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "platformio-debug",
|
||||
"request": "launch",
|
||||
"name": "PIO Debug (skip Pre-Debug)",
|
||||
"executable": "d:/Projects/RoboterArm/.pio/build/leonardo/firmware.elf",
|
||||
"projectEnvName": "leonardo",
|
||||
"toolchainBinDir": "C:/Users/linos/.platformio/packages/toolchain-atmelavr/bin",
|
||||
"internalConsoleOptions": "openOnSessionStart"
|
||||
},
|
||||
{
|
||||
"type": "platformio-debug",
|
||||
"request": "launch",
|
||||
"name": "PIO Debug (without uploading)",
|
||||
"executable": "d:/Projects/RoboterArm/.pio/build/leonardo/firmware.elf",
|
||||
"projectEnvName": "leonardo",
|
||||
"toolchainBinDir": "C:/Users/linos/.platformio/packages/toolchain-atmelavr/bin",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"loadMode": "manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <Arduino.h>
|
||||
#include <Servo.h>
|
||||
|
||||
#define Debug true /*----------------------------------Ausschalten Wichtig!---------------------------------------*/
|
||||
#define Debug true /*----------------------------------Ausschalten Wichtig! (Nur für testzwecke)---------------------------------------*/
|
||||
|
||||
#define servoDrehungPin 9
|
||||
#define servoArmPin 10
|
||||
@@ -13,7 +13,7 @@
|
||||
#define poti3Pin 0
|
||||
#define poti4Pin 3
|
||||
|
||||
#define DrehungMax 180
|
||||
#define DrehungMax 145
|
||||
#define DrehungMin 0
|
||||
|
||||
#define ArmMax 180
|
||||
Reference in New Issue
Block a user