Ok, i understood about the conversion to a some kind of integer range from a real value, but doesn't A/D produce binary numbers? like 0010?
Type: Posts; User: zyxx_66
Ok, i understood about the conversion to a some kind of integer range from a real value, but doesn't A/D produce binary numbers? like 0010?
OK, that's fine, thanks very much for the replies
Could you provide some links or the thread here with the xplanation? Sorry for asking too much.
Oh , just out of curiosity, why would i need to change an integer value to float point (is it the...
So, do you think that making word frequency and sorting it is enough for microcontroller programming or are there special cases?
I've try downloading WinAVR and the trial CodeVision, which do you...
Well, the most complicated was making word frequency counter along with sorting with array, and i was helped by a kind user in this board too. Does the programming still need something more?
Also,...
Thanks for the quick reply and thank you for the links on the datasheet, it is very helpful.
I forgot to mention that this is not my personal project, but school project and directed students to...
Ok, so i started a thread a few weeks before about micro controller, and i decided to leave the board to find out further about what microcontrollers i am going to use. The result is :
AVR ATMEGA...
I also thought that my questions are not specific, forgive me for that. But it is because, i have not even touched the microcontroller yet, i was given information about electronic devices first...
Okay, it's been a while, and this time, i'm going to need opinions, so please help me with this one!
- How do you actually program a microcontroller? Does it involve connecting circuit to PC?
-...
Haha, i found this to be hard and frustating,
any other method (easier) than this?
I've sent the source code ,Adak, for anyone else that wanted to help (which i really need) i could send you my source code so far, but cannot display it in the board, sorry, i have a reason.
O...
Sorry for not giving the specifications of my problem earlier but here it goes:
i) Read in a text from a file. As we read the file, break the file into words.
ii) Count the number of occurrences...
Uhm, for the number of words i'll be counting and sorting depends on the text file i input, like i said, where i'll be inputting the word counting from the previous function(reading textfiles). Any...
I see, so the sorting is done by the OS? I would really use that, but i guess in this assignment, we must make the sorting program ourself, do you know about the tree structure(the first post was...
Hmm, so is this sorting outside the c program? Like using a Windows sorter to do the sorting job?
(I understand when you edit your textfile to be 1 word per line(am i wrong?), but i don't...
Thanks Adak for the information, well actually i read some reference and found how it works before seeing your post, but after reading your post i got to know it better, thanks!
Well, i've...
I think, i deliver my question badly here sorry, here is a case study to clear the explanation:
- I have a text file, which is in a different location (not in one folder) from my read-text...
For the first question, i mean how do you detect words in a file, and count it? And must the isspace function be paired with the getchar function?
and for the second, do you also use fopen to...
For the isspace function, i still don't know thoroughly(since i've never heard or learn it), :
- How exactly am i going to use the words in a file to be scanned and applied the isspace function?...
O, so that what's going on with "w" and "r", thanks tabstop for the info. :D
Also i forgot, to count number of words in a text, do you only need the space as a delimiter? or do you need newline and...
OK, i've tested it again, and even used another source code for the open file program, and what i get is when the mode is "w", it overwrites if existed and created new if not exist but can not edit?...
So, with the "r" mode, it should open the file?, well i think i've inputted the name right but i'll check it again.
As for the "map" concept, actually, i haven't heard it, can you give me some...
Thanks for the quick reply, but i have some question:
-in c , when i use fopen and put its mode to "r" will it open the file and allows the user to read the text or will the program detect the...
Hi, greetings to everyone, i'm new here and would like to ask some question. I'm a newbie to C Programming(i just learned it the last 2 months), and got an assignment to make program where it does a...