Comments (3)
Hi!
Can you post the compiler error you're getting?
from minicore.
Hey! Thanks for getting into so quick
The fact is I do not receive compiler errors , but same code works differently when I compile with Minicore or Native Arduino Ide.
With Arduino Ide the string works as expected (forcing avrdude to program the 328PB as 328P), but not when I compile with Minicore, I dont receive compile errors, but the String does not work as expected, does not capture serial data.
This is some (reduced) code you can reproduce the failure, data is received thought serial port (native serial for 328P)(Not used serial 1 option for 328PB).
String inputString = ""; // declared variable
while (Serial.available() > 0) { // Under loop function
char inChar = (char)Serial.read();
inputString += inChar;
delay(20);
}
from minicore.
Just an update into the problems found into the Atmega328PB, definitely is related to the managements of Strings, none of the strings apparently works, I did a fresh installation of minicore and problem remains the same.
The problem with the Strings disappear when I compile my 328PB as 328P with the Arduino Ide standard compiler ( However other small problems arises at other areas due to different registers identifiers).
from minicore.
Related Issues (20)
- Upload error: cannot set com-state on COM port and unable to open programmer error HOT 13
- Ch340 upload problem HOT 2
- Problems with atmega 328pb and minicore? HOT 1
- atmega328pb wrong fuse settings? HOT 39
- No separate SPDR0 SPDR1 for the ATMega328PB? HOT 2
- avrdude urclock_res_check() error: HOT 9
- Clock options for ATMega328P are ambiguous HOT 1
- Not able to burn bootloader to Atmega88PB HOT 6
- MCUSR always reports 0 at startup HOT 13
- [feature] New 9.216MHz to Supported clock frequency. HOT 1
- Optiboot backward compatibility HOT 6
- Syntax Error HOT 11
- Trying to enlarge pinout diagrams in README fails with 'Non-Image content-type returned' HOT 2
- MiniCore Burn Bootloader - Not Working on M3 MacBook Pro HOT 5
- Warnings with TimerInterrupt library
- is LGT8F328P supported ? HOT 1
- Internal Pull up error mega328 HOT 3
- Adding `-B 4` by default to `avrdude` HOT 2
- ATmega328PB and the PWM output PB1, PB2 and PB3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minicore.