I use static cause its the way I was taught. And later it can be used throughout the program, although I understand at the moment there is no where else for it to be used.
And they are was just playing around with it, and was easier for me to remember to connect both to two.
And can you explain
SoftwareSerial LCD = SoftwareSerial(0, 3);
and how 3 is a hardware pin? There is only an output for the LCD.
and the magic numbers are beyond me, I adapted the sample code which came with the component when I purchased it.
and how 3 is a hardware pin? There is only an output for the LCD.
3 isn't a hardware serial port pin. 0 is. It doesn't matter that there will never be input to the pin from the LCD. The SoftwareSerial instance owns the pin, and will do what it wants with it. That WILL conflict with what the Serial instance does with the pin, screwing up any serial input.
The RFID instance will have similar issues, with one pin being both input and output.
and the magic numbers are beyond me
Perhaps you should see what they correspond to on an ASCII table, then. Perhaps that will prompt you to change them to meaningful values.
I understand that they are in HEX, and I understand how to change them etc... Just not exactly what they are doing. And I changed the pin locations, but still doesn't work, I think it has to do with the amount of serial "access"? As it will work with one of the components (LCD screen by itself or the RFID). But when you include the other beginning of the serial (LCD.begin(9600) it stops working all together.
I still don't really see how using ASCII code is more readable, I understand it may look nicer, but at least I relatively, or with a bit of maths, know the value used.
And I did some reading and understand a bit better now, but hopefully by the end of it know it back to front!
You have a good point, I appreciate it and will remember for future projects, but it currently forces me to remember how to do it, as with many of my classes they still have some form of HEX, BIN and OCT conversions.