You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// you can also activate the following modes (they will disable the gyro to save programming space)
Is this a software limitation (making the compiled code smaller) or a hardware limitation (not enough registers)? I am interested in improving the code to have both working at the same time.
The text was updated successfully, but these errors were encountered:
ATmega328P only has 32 KB flash and 2 KB SRAM. The added features and UI eventually filled up the programming space (Flash), making it difficult to run two large modules simultaneously. The 64Kb I2C EEPROM used for saving behaviors data is also filled up. You can comment out the IR_PIN and disable the Neopixels in the Ultrasonic sensor to save space for the Gyro.
We are moving to OpenCatESP32, where the computational resources are more abundant.
Currently the software cannot use the gyro and ultrasonic eyes at the same time.
OpenCat/OpenCat.ino
Line 55 in 902c319
Is this a software limitation (making the compiled code smaller) or a hardware limitation (not enough registers)? I am interested in improving the code to have both working at the same time.
The text was updated successfully, but these errors were encountered: