Closed chacksnacker closed 3 months ago
The board should be ESP32, rather than Arduino Nano ESP32. The setup steps for BiBoard is at: https://docs.petoi.com/arduino-ide/upload-sketch-for-biboard
On Fri, Dec 22, 2023 at 11:30 AM chacksnacker @.***> wrote:
when i try to follow the instructions it gave me this Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Nano ESP32, With FAT partition (default), By Arduino pin (default), Normal mode (TinyUSB)"
In file included from C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/Arduino.h:223,
from sketch\OpenCatEsp32.ino.cpp:1:
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:25:49: error: variable or field 'analogWrite' declared void
define analogWrite(pin, value) analogWrite(digitalPinToGPIONumber(pin),
value)
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\analogWrite.h:9:8: note: in expansion of macro 'analogWrite'
void analogWrite( uint8_t APin, uint16_t AValue );
^~~~~~~~~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\analogWrite.h:9:29: error: expected primary-expression before 'APin'
void analogWrite( uint8_t APin, uint16_t AValue );
^~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:25:72: note: in definition of macro 'analogWrite'
define analogWrite(pin, value) analogWrite(digitalPinToGPIONumber(pin),
value)
^~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\analogWrite.h:9:44: error: expected primary-expression before 'AValue'
void analogWrite( uint8_t APin, uint16_t AValue );
^~~~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:25:78: note: in definition of macro 'analogWrite'
define analogWrite(pin, value) analogWrite(digitalPinToGPIONumber(pin),
value)
^~~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:42: error: variable or field 'tone' declared void
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:11:6: note: in expansion of macro 'tone'
void tone(int pin,unsigned int frequency);
^~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:11:11: error: expected primary-expression before 'int'
void tone(int pin,unsigned int frequency);
^~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:65: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
^~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:11:19: error: expected primary-expression before 'unsigned'
void tone(int pin,unsigned int frequency);
^~~~~~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:72: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
^~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:42: error: variable or field 'tone' declared void
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:6: note: in expansion of macro 'tone'
void tone(int pin, unsigned int frequency, unsigned long duration);
^~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:11: error: expected primary-expression before 'int'
void tone(int pin, unsigned int frequency, unsigned long duration);
^~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:65: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
^~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:20: error: expected primary-expression before 'unsigned'
void tone(int pin, unsigned int frequency, unsigned long duration);
^~~~~~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:72: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
^~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:44: error: expected primary-expression before 'unsigned'
void tone(int pin, unsigned int frequency, unsigned long duration);
^~~~~~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:72: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
^~~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:20:44: error: variable or field 'noTone' declared void
define noTone(_pin) noTone(digitalPinToGPIONumber(_pin))
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:15:6: note: in expansion of macro 'noTone'
void noTone(int pin);
^
~C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:15:13: error: expected primary-expression before 'int'
void noTone(int pin);
^~~
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:20:67: note: in definition of macro 'noTone'
define noTone(_pin) noTone(digitalPinToGPIONumber(_pin))
^~~~
exit status 1
Error compiling for board Arduino Nano ESP32.
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
i dont have any coding experience please haelp
— Reply to this email directly, view it on GitHub https://github.com/PetoiCamp/OpenCatEsp32/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKLZGH7AYQK655LVVJ4CH3YKT5F3AVCNFSM6AAAAABA7IYLZ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TGMZSGUYTONA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- ~~ Rongzhong Li, PhD http://borntoleave.github.io
when i try to follow the instructions it gave me this Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Nano ESP32, With FAT partition (default), By Arduino pin (default), Normal mode (TinyUSB)"
In file included from C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/Arduino.h:223,
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:25:49: error: variable or field 'analogWrite' declared void
define analogWrite(pin, value) analogWrite(digitalPinToGPIONumber(pin), value)
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\analogWrite.h:9:8: note: in expansion of macro 'analogWrite'
void analogWrite( uint8_t APin, uint16_t AValue );
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\analogWrite.h:9:29: error: expected primary-expression before 'APin'
void analogWrite( uint8_t APin, uint16_t AValue );
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:25:72: note: in definition of macro 'analogWrite'
define analogWrite(pin, value) analogWrite(digitalPinToGPIONumber(pin), value)
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\analogWrite.h:9:44: error: expected primary-expression before 'AValue'
void analogWrite( uint8_t APin, uint16_t AValue );
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:25:78: note: in definition of macro 'analogWrite'
define analogWrite(pin, value) analogWrite(digitalPinToGPIONumber(pin), value)
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:42: error: variable or field 'tone' declared void
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:11:6: note: in expansion of macro 'tone'
void tone(int pin,unsigned int frequency);
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:11:11: error: expected primary-expression before 'int'
void tone(int pin,unsigned int frequency);
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:65: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:11:19: error: expected primary-expression before 'unsigned'
void tone(int pin,unsigned int frequency);
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:72: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:42: error: variable or field 'tone' declared void
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:6: note: in expansion of macro 'tone'
void tone(int pin, unsigned int frequency, unsigned long duration);
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:11: error: expected primary-expression before 'int'
void tone(int pin, unsigned int frequency, unsigned long duration);
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:65: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:20: error: expected primary-expression before 'unsigned'
void tone(int pin, unsigned int frequency, unsigned long duration);
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:72: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:13:44: error: expected primary-expression before 'unsigned'
void tone(int pin, unsigned int frequency, unsigned long duration);
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:21:72: note: in definition of macro 'tone'
define tone(_pin, args...) tone(digitalPinToGPIONumber(_pin), args)
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:20:44: error: variable or field 'noTone' declared void
define noTone(_pin) noTone(digitalPinToGPIONumber(_pin))
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:15:6: note: in expansion of macro 'noTone'
void noTone(int pin);
C:\Users\IowaBIG\Downloads\OpenCatEsp32\OpenCatEsp32\src\PetoiESP32Servo\ESP32Tone.h:15:13: error: expected primary-expression before 'int'
void noTone(int pin);
C:\Users\IowaBIG\Documents\ArduinoData\packages\arduino\hardware\esp32\2.0.12\cores\esp32/io_pin_remap.h:20:67: note: in definition of macro 'noTone'
define noTone(_pin) noTone(digitalPinToGPIONumber(_pin))
exit status 1
Error compiling for board Arduino Nano ESP32.
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
i dont have any coding experience please haelp