Skip to content

Update UploadMode Config of Deneyap Kart 1A v2 #8046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Pin Definition
Remove repeating pin definitions of SPI, I2C and DAC.
Update RGB LED definition for using digitalWrite() command with RGB LED.
  • Loading branch information
DogushC committed Mar 31, 2023
commit 00d3e458056b5682df855692653338648b2563d9
5 changes: 4 additions & 1 deletion variants/deneyapminiv2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define Pins_Arduino_h

#include <stdint.h>
#include "soc/soc_caps.h"

#define USB_VID 0x303A
#define USB_PID 0x8144
Expand All @@ -17,7 +18,7 @@
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
#define digitalPinHasPWM(p) (p < 46)

static const uint8_t LED_BUILTIN = 33;
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+33;
#define BUILTIN_LED LED_BUILTIN
#define LED_BUILTIN LED_BUILTIN
#define RGB_BUILTIN LED_BUILTIN
Expand Down Expand Up @@ -80,6 +81,7 @@ static const uint8_t PWM1 = 41;
static const uint8_t DAC0 = 17;
static const uint8_t DAC1 = 18;

/*
#define SD SDA
#define SC SCL

Expand All @@ -89,5 +91,6 @@ static const uint8_t DAC1 = 18;

#define DA0 DAC0
#define DA1 DAC1
*/

#endif /* Pins_Arduino_h */