Timeline for MFRC522 ReadNUID example reboots unless I include a null if statement
Current License: CC BY-SA 4.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 6, 2019 at 15:11 | history | edited | VE7JRO | CC BY-SA 4.0 |
Fixed syntax highlighting.
|
Jan 6, 2018 at 4:19 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 7, 2017 at 4:17 | answer | added | Delta_G | timeline score: 1 | |
Dec 7, 2017 at 4:02 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 6, 2017 at 23:03 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 7, 2017 at 19:44 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 7, 2017 at 18:44 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 8, 2017 at 19:21 | comment | added | user31481 |
In C, byte NUID[4] means a 4 elements array (index 0 to 3). Remember, you declare how many elements you want.
|
|
Aug 8, 2017 at 18:39 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 9, 2017 at 17:20 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 9, 2017 at 16:45 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 10, 2017 at 13:12 | answer | added | bertoid | timeline score: 0 | |
May 3, 2017 at 3:26 | comment | added | bertoid | I've included this code into another sketch, also using SPI to talk to an NRF24L01, and again a (different) problem appears when the code to store the NUID is present. "i=0; i<4;" means the loop with execute 4 times with i=0,1,2,3. Correct? But If I change the array declaration to "byte NUID[4]", the problem goes away. But that's 5 bytes, no?, so there should be no overrun with NUID[3]? | |
May 3, 2017 at 0:54 | comment | added | bertoid | Added my modified example code, and a minimal version of it. It seems the loop that stores the NUID causes the problem (new problem), and including the null if statement fixes it (original problem) | |
May 3, 2017 at 0:51 | history | edited | bertoid | CC BY-SA 3.0 |
added 2163 characters in body
|
May 3, 2017 at 0:24 | history | edited | bertoid | CC BY-SA 3.0 |
added 5410 characters in body
|
May 3, 2017 at 0:18 | comment | added | bertoid | This comment system is confusing. I just wanted to start a new line, but it kept posting each time, so my comment could be gibberish, and then it timed out on me. | |
May 3, 2017 at 0:08 | comment | added | bertoid | "minimal verifiable example of code". I wanted to use code that many would be familiar with, and just show the simple change I made that brings on the problem. I'll try to reduce it, but then we don't have a familiar starting point. just adding two lines means nothing. | |
May 2, 2017 at 20:11 | comment | added | SDsolar | Welcome to Arduino SE. Be sure to take the tour to see how things work here: arduino.stackexchange.com/Tour | |
May 2, 2017 at 11:06 | review | Close votes | |||
May 21, 2017 at 3:03 | |||||
May 2, 2017 at 7:22 | comment | added | Code Gorilla | Please can you post a minimal verifiable example of code. Sorry but just adding two lines means nothing. | |
May 2, 2017 at 7:22 | history | edited | Code Gorilla | CC BY-SA 3.0 |
Format code.
|
May 2, 2017 at 5:39 | review | First posts | |||
May 2, 2017 at 7:23 | |||||
May 2, 2017 at 5:34 | history | asked | bertoid | CC BY-SA 3.0 |