Search found 94 matches
- Mon May 06, 2013 6:25 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
sorry about that i did not realize what you meant until you hit me with it :oops: everything is working good now except when i try to use the buffer to give a drawline value eg. 245(i have striped the buffer back to that) it will not work i get the assignment makes pointer from integer without a cas...
- Mon May 06, 2013 7:26 am
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
i have tried getting the voltage to display this way:
float voltage = (adcsample_t) samples2[0];
sprintf(buffer, "voltage: %fV", voltage);
but it reads " voltage:4063.000000V" off a 3v pin.
am i doing it correctly or should i be doing some sort of calculation first?
float voltage = (adcsample_t) samples2[0];
sprintf(buffer, "voltage: %fV", voltage);
but it reads " voltage:4063.000000V" off a 3v pin.
am i doing it correctly or should i be doing some sort of calculation first?
- Sun May 05, 2013 5:05 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
ok that works but how do i tie that to samples
- Sun May 05, 2013 4:47 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
disregard my fault..
- Sun May 05, 2013 4:25 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
i cannot see the attached stubs either
- Sun May 05, 2013 3:45 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
what syscalls should i add?--
ok i found syscalls.c and have added it to my makefile
ok i found syscalls.c and have added it to my makefile
- Sun May 05, 2013 3:16 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
i know i probably sound stupid but how do i convert the buffers into strings i have tried and all i get is random characters on lcd
- Sun May 05, 2013 12:52 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
yes that is the example i am using but where do i get the result from i cannot see where the result is in the example?
- Sun May 05, 2013 12:25 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
well yes thats exactly what i want to do just having a hard time figuring out how i get the conversion value.
- Sun May 05, 2013 12:09 pm
- Forum: LCD Driver and Graphic Framework
- Topic: Modifying GADC example board file.
- Replies: 46
- Views: 34709
Re: Modifying GADC example board file.
was just trying to start by using the testhal adc example to read a voltage (3.3v) and display it on my lcd and then take it from there..