Code Monkey home page Code Monkey logo

Comments (3)

MCUdude avatar MCUdude commented on June 3, 2024

Hi!

Can you post the compiler error you're getting?

from minicore.

Jesuslcp avatar Jesuslcp commented on June 3, 2024

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.

Jesuslcp avatar Jesuslcp commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.