Search found 1 match

by ahurley
Mon Jan 21, 2019 8:37 pm
Forum: ESP32 Arduino
Topic: Arduino SetBit error in Arduino compie for ESP32 Dev Rev C board.
Replies: 0
Views: 2757

Arduino SetBit error in Arduino compie for ESP32 Dev Rev C board.

Hello, Here is some code setting up SDA and SCL in some Arduino code I am trying to compile. void I2C_Setup(void) { // Set SDA and SCL to inputs // #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega8__) || defined(__AVR_ATmega328P__) SetBit(PORTC, 4); SetBit(PORTC, 5); #else SetBit(PORTD, 0); Se...