Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello!
In the ST case, you are using buffers received by the microcontroller, and forwarded
to you at interrupt time.
How do you send the buffers to the microcontroller?
I mean, if you send like this from a command line:
e
M0000
Pda7F85F3Fu;ba48D503Dp,10,288
Pda7F9234Bu;ba4E2C324p,10,288
etc...
Hello!
Why not starting by downloading CCS (Code Composer Studio) if not already done, and use some TI sample code?
Beside this, you can also consider using your favorite search engine and check if you can find hints.
For example this one, but there are myriads of them.
Dora.
Hello!
A good way to start would be to clearly explain what you did.
Apparently you included a code snippet that you didn't write yourself.
But what did you do with it?
Is it a hardware you have developed? -> Are you sure the wiring is correct?
Or do you use the dev board indicated in the...
Hello!
Let's go back to the question. I don't think it's relevant to ask why independently,
that's his problem.
Let's assume he wants exactly what he says, powering LEDs, most likely each of them
with a different brighness, not more.
PWM are usually made using a counter.
Let's cal it C, and...
Hello!
When asking something, you may consider saying hello, please, thank you, etc...
Beside this, you could also explain what exactly you want to do.
You say:
Getting changes on the changes, is not obvious to me. Do you mean you can't write
to the output ports?
Next, the code you post looks...
Hello again!
I suppose it's related to your other post. Ok, you put some soft together.
You need a few seconds to draw an image. And indeed you should consider DMA,
but we are not going to write it for you. At least I won't.
But before you have to make sure that with DMA you will have the...
Hello!
It depends on the implementation of UARTReadText. Is it a standard function or something you wrote yourself.
Your UART might generate an interrupt each time it receives a byte. In this case, you have to create a buffered UART
which puts data in an array until you have some character which...
Hello!
Not at all, and I don't understand your code either. What I understand is that
you get a string if data is ready, and copy it into str. What for?
But anyway you can operate some factorization of your code. Writing \r\n is
in bothecased (i.e. doesn't depend whether data is ready or...
Hello!
So what you are saying is that the code you posted does not correspond to the problem you have?
Beside this, what you are saying is a bit scary: you modified the LCD touch screen program to display something?
(I hope not).
You should NEVER do that. The touch.c (whatever the name) should...
Hello!
I checked your lcd library.
You are aware that it's a library for the touch panel only, right?
I mean, you cannot write a character with this library, not even a white background, nothing.
You can just read the position of where you press on the screen.
Beside this, you were saying you...
Hello!
- We don't know where this library comes from
- We don't have access to the wiring
- We don't have access to your LCD documentation.
- We don't know what "a problem with displaying the image" means.
-> Does it display anything? Is it completely black? Can you initialize it? Can you...
Hello!
There are parts of your code in which I don't know what you are trying to do.
As your code works a little bit (at least it shows something), I didn't check
it all, but Klaus is right, this couldn't work in the real world (no power, no ground,
no caps), only in a simulation environment...
Hello!
I haven't played with AT commands in the past 20 yeard, but you should never write such a heap of code.
What you should write is something like:
const char at_cmd[] = "AT\n";
const char ok_string[] = "AT\r\nOK\n";
char reply[0x10];
uart_send(at_cmd);
uart_recv(reply);
And then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.