View Single Post
Old 09-12-2013, 04:08 PM   #62 (permalink)
josemapiro
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Quote:
Originally Posted by t vago View Post
ultoa() converts an unsigned long integer into a string. I might could revert back to the older code, which did not depend on ultoa().
Do not change the code, if so better, asked because could have just any idea what causes this error.


Quote:
What are your errors? And I am curious as to why you're using Atmel Studio instead of Arduino. Not saying one is better than the other, but I did want to ensure that the code I'm developing is compatible with Arduino, so as to ensure that the casual Arduino user could run it.
The errors that were presented due to the change in pgmspace.h library, the way you wrote the code is ancient.
These are two examples:
original
prog_char pString_00[] PROGMEM = "Contrast";
prog_uint32_t convNumer[] PROGMEM = {
change
const char pString_00[] PROGMEM = "Contrast";
const uint32_t convNumer[] PROGMEM = {
This site has an example:tuxgraphics.org: avr-gcc, error: unknown type name 'prog_char'
After making these changes continues to run without giving error in my Arduino IDE

Now I just got an error that is what I reported before.

I am using Atmel Studio seeks to resolve the difficulties I have in adptação the code for the Arduino Mega, perhaps using the simulator program I can see where it is failing.
The Atmel Studio seems to be very good for that, check out this video to get an idea of what it is capable of,http://www.youtube.com/watch?feature...&v=9QlDSNeuAdY this site can also give some information on the possibilities of the program Debug Arduino - Overview

Thank you
José Rodrigues
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (09-12-2013)