floresta:
You have not mentioned anything about seeing, or not seeing, the splash screen. Could you comment on this and also answer the following questions based on your original post? (Some of these questions would not be necessary if you had properly commented your code, specifically if you had identified what the magic numbers are supposed to do.)I am sending 2 commands to the slave device, but only the first command appears to be read.
What makes you think that the command 'appears' to be read?
-- What command are you sending?
-- What response do you expect to get?
-- What response do you actually get?The second command executes, albeit appears to execute incorrectly ... It's kind of doing what I want.....but not quite.
What makes you think that the command 'appears' to execute and why do you think that it is incorrect?
-- What command are you sending?
-- What response do you expect to get?
-- What response do you actually get?... only when I open the serial monitor....
--What happens, or does not happen, before you open the serial monitor?
--What happens, or does not happen, after you open the serial monitor?I'm not even sure the first command is quite right.
-- What command are you referring to?
-- What response do you expect to get?
-- What response do you actually get?It goes kinda slow ... Maybe that command is supposed to be slower. It's hard to say.
What do you mean by slow? Do you mean there is a delay before you start to see something, or do you mean it takes a long time between the time it starts to do what ever it is doing and the time it finishes?
Ah, well that was all from before I switched to software serial. Some strange things were happening with the monitor, and I wasn't able to program the arduino and have my device plugged in at the same time, so that wasn't very useful. That was the reason I switched to software serial. HOWEVER, I know I was sending 3 commands to the device, and I know those 3 commands were being executed: (0x55) Splash screen didn't display; autobaud seemed to be fine. The background changed colors, but it wasn't an instantaneous change, it was a slow change from black to blue from top down (not sure if the speed is normal or not). and I know the last command executed, because a white circle was showing up. There was some strange color distortions going on as well. Something was not right. Anyway, I've switched to software serial. I havent gotten software serial to display anything yet, but I need to sit down and take a look at it again today. In fact, I'm not even sure the splash screen is doing anything as of the last code change, so I need to make sure I am initializing properly since I've made the switch to software serial.
floresta:
but idk.
I am a native English speaker but many of the contributors to this forum, even in this English language section, are not. Also many of us are more than 14 years old. You are severely limiting the number of people who can help you what you include abbreviations such as this.
Don
Oh sorry, I get carried away with my internet jargon sometimes. I'll try to stop. Idk is usually an acronym for 'i don't know'. I don't know if a slow background color change is normal.
I'll post another update to the code with hopefully a revised method of waiting for the data, and with more comments. I have to leave right now. I lost my wretched wallet this weekend. -_- Have to get that straightened out today.