Author |
Message |
Topic: Problem using printf to print string variables |
BrunoC12
Replies: 8
Views: 16693
|
Forum: General CCS C Discussion Posted: Fri May 26, 2017 1:38 pm Subject: Problem using printf to print string variables |
Oh, sorry, I had not considered it. With that code the program works correctly, but I need to do it with the 16F628a.
I'm going to try MPLAB to see if it works.
Thanks for your help.
By the way, ... |
Topic: Problem using printf to print string variables |
BrunoC12
Replies: 8
Views: 16693
|
Forum: General CCS C Discussion Posted: Fri May 26, 2017 10:43 am Subject: Problem using printf to print string variables |
I tried with while(true), but the program send the same answer.
one
two
three
four
one
two
three
I think the problem is that it doesn't save the last data in the variable AK because it ... |
Topic: Problem using printf to print string variables |
BrunoC12
Replies: 4
Views: 14941
|
Forum: General CCS C Discussion Posted: Thu May 25, 2017 8:51 pm Subject: Same problem |
I have the same problem. The program doesn't print all of the values that i define on printf.
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
char ID[], S ... |
Topic: Problem using printf to print string variables |
BrunoC12
Replies: 8
Views: 16693
|
Forum: General CCS C Discussion Posted: Thu May 25, 2017 7:56 pm Subject: Problem using printf to print string variables |
I am using strtok to separate any string. Then, I save the different values in a string variable. Up to this point the program is fine.
After that, I print all the values but I can not see that. The ... |
|