The PROGMEM is changed in this Version! The Compiler is reporting an Error, that only a Constant can be written in this Part of the Memory! Does anyone know a solution, what to change in the code so it works?
Many thanks for help! Because working with the avr-libs is new for me!
Sample Sketches not working in IDE 1.5.8 BETA
Moderators: Chuckt, Garth, bitfogav
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sample Sketches not working in IDE 1.5.8 BETA
Hmm, that's interesting.
Can you post your code just to make sure we're looking at the same thing?
Can you post your code just to make sure we're looking at the same thing?
-
- newbie
- Posts: 2
- Joined: Thu Jan 08, 2015 5:02 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sample Sketches not working in IDE 1.5.8 BETA
Hi, i found already a solution! You have to write a "const" in front of the declaration!
for example:
// Program memory arrays
const byte numberTable[30]PROGMEM={0b01111110, 0b01000010, 0b01111110, 0b0010001..........
many thanks!
for example:
// Program memory arrays
const byte numberTable[30]PROGMEM={0b01111110, 0b01000010, 0b01111110, 0b0010001..........
many thanks!
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Sample Sketches not working in IDE 1.5.8 BETA
Great work synd, thanks for updating us!
-
- newbie
- Posts: 5
- Joined: Thu Aug 25, 2016 3:11 pm
- Contact:
Re: Sample Sketches not working in IDE 1.5.8 BETA
Thanks a lot bro, I was also having the same problem, now it works ... Thumbs up.
You should also check The Engineering Projects because they have posted a lot of Arduino Projects and PIC Mirocontroller Projects and have also designed many new Proteus Tutorials and C# Tutorial. I hope you guys are gonna like them.
Who is online
Users browsing this forum: No registered users and 3 guests