-2
\$\begingroup\$

This question was migrated to Arduino.SE but apart from that the Atmega328P happens to be on an Arduino board it has nothing else to do with Arduino regarding the problem stated in the question.

The question itself is about USART usage on register level no Arduino library is involved.

| |
\$\endgroup\$
  • 3
    \$\begingroup\$ I don't see a problem here. The question mentioned Arduino in the title, and the code provided clearly shows that the OP is using the the Arduino programming environment. Trying to do it without using the Arduino libraries is inconsistent. \$\endgroup\$ – Dave Tweed Apr 3 '17 at 13:49
3
\$\begingroup\$

A good test whether a question is a arduino user-level question is whether you can replace all mention of "arduino" with "microcontroller" or "microcontroller development board".

If the question still makes sense, then it's not about the arduinoness. Of course then the OP should have done the substitution in the first place to not give the impression of a arduino-specific question. When "arduino" is mentioned, particularly in the title, then you can't really blame people for closing or migrating without looking at it more closely.

On the other hand, if the question makes no sense without specifically mentioning "arduino", then it's about the arduinoness and doesn't belong here.

The question you linked to fits into the second category. Especially considering code was shown, it doesn't make sense outside the arduino context. It was correctly migrated.

| |
\$\endgroup\$
  • 2
    \$\begingroup\$ It uses no arduino code.... \$\endgroup\$ – Passerby Apr 3 '17 at 15:52
  • 1
    \$\begingroup\$ @Passe: There is code listed right in the question. \$\endgroup\$ – Olin Lathrop Apr 3 '17 at 16:29
  • 1
    \$\begingroup\$ It uses code, yes, all microcontrollers do... It does not use arduino code or libraries. It uses normal c code and ATMega register names. Nothing arduino about it. \$\endgroup\$ – Passerby Apr 3 '17 at 17:46
  • 5
    \$\begingroup\$ @Passerby void loop() { // put your main code here, to run repeatedly: is straight out of Arduinoland. \$\endgroup\$ – brhans Apr 3 '17 at 18:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .