• AVR Freaks

AnsweredHot!Anyone using the PIC16F18456? Does not seem to work correctly?

Page: < 12 Showing page 2 of 2
Author
davez
Starting Member
  • Total Posts : 32
  • Reward points : 0
  • Joined: 2015/12/11 01:04:29
  • Location: 0
  • Status: offline
Re: Anyone using the PIC16F18456? Does not seem to work correctly? 2019/07/18 09:42:38 (permalink)
+2 (2)
 
Ok, here we go, FINAL ANSWER!!!!
I am totally an IDIOT!!
I was writing more than 20 characters using sprintf, and had my buffer size set to 20!!
So much agony, for such a simple fix.
Sorry for wasting so much time on so simple a problem.
#21
ric
Super Member
  • Total Posts : 23532
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: Anyone using the PIC16F18456? Does not seem to work correctly? 2019/07/18 13:14:20 (permalink)
+1 (1)
And, as often happens, the bug was in the bit of code you didn't show.
That's why we usually ask for complete programs, not snippets.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#22
Page: < 12 Showing page 2 of 2
Jump to:
© 2019 APG vNext Commercial Version 4.5