|
We did one project with it and it turned out fine, decent debugger, and as I recall lots of example projects. The documentation was good, the parts had good amounts of RAM and Program space, they are not the fastest processors around nut they served our needs well.
|
|
|
|
|
Was USB involved in your projects ?
|
|
|
|
|
No, it was serial and ethernet stuff (they had a nice TCP/IP stack).
|
|
|
|
|
|
Thank you for the suggestion; my answer on Arduino is no.
The reason: It's so small that I honestly have great difficulty connecting alligator clips to the various pins.
My thoughts at this time are running toward an embedded systems tutorial; possibly with a video presentation. I think I may want to make a "Barney Box" (named after Barney on Mission Impossible in the 1960s, who created small, hand-held, obviously useless plastic boxes with switches and LEDs, which would do insanely complicated procedures; turn cars around and stuff)
At this moment I want something where the pins are accessible for alligator clips; with specific accommodation for people with fumbling EL-Spaz-O-Max fingers like myself.
[Edit] Just looked at the photos of the Raspberry; ditto, too small
|
|
|
|
|
I do not know which part you want to crocodile-bite, but maybe you can plug one of these boards on a larger board with expanded crocodile-friendly biting zones. A zoomer of some sort
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Rage wrote: A zoomer of some sort
Yes, that's the whole idea; my full contention.
i.e.,,,,,,,,
If we could make these things large enough to work with, we could create stuff on our desks, first, and make them work, and watch them in real life, and do (an awful lot of) the validation and verification ahead of time, and get the bugs out first, BEFORE we shrink them so small that they become inaccessible to human hands.
That's my whole idea: itty bitty microprocessors and microcontrollers, on boards which have posts and clip-ons and access points that are large enough for bumble-thumbs like me.
(Unless, of course, I'm the only one who can't access two pieces of metal when they're closer than a millimeter)
|
|
|
|
|
Re: The reason: It's so small that I honestly have great difficulty connecting alligator clips to the various pins.
Forget the alligator clips. Get a crimper and some socket and pin ends that match the connector or pins available. Crimp the pin/socket on the end of your wire and put anything you want on the other end. Use various colors of wire to make it easy.
To the OP, do some googling on demo and prototype boards. If you are really serious, for less than $100 you can get a demo/prototype board for just about any type of processor. Usually way less.
Edit: Get some heat shrink tubing to insulate the crimped end.
|
|
|
|
|
Device drivers are of course a good way to learn all about USB, UARTs, interrupts etc, but, you also need to learn a heck of a lot of Kernel/OS stuff too, so even though Linux is easier than Windows, kernel wtuff might be too daunting for him so I would go for a dev board with a very simple model so he can focus just on HW.
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
|
I want to use the Windows CMD tree command in my C++ console application.it is possible ?
|
|
|
|
|
Yes.
It's both possible and very easy, as it turns out.
Drawing on an old (and frowned-upon) practise of using a system call to clear the screen or wait for a keystroke,
system("CLS");
and
system("PAUSE");
You can achieve your aim using the system function. Just remember to use forward-slashes (/) in the path-name or to use double back-slashes (\\)
E.g
system("tree c:\\xampp");
system("tree c:/xampp");
|
|
|
|
|
Error in code plz help me...
#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<windos.h>
void main(){
system("tree c:\\xampp");
getch();
}
|
|
|
|
|
Apart from the fact that you mis-spelt windows , what else is wrong?
|
|
|
|
|
compilation Error is given :
Unable to Open include File ''windows.h
|
|
|
|
|
The code you showed above has it spelled as windos.h (missing the last w character). If it is spelled correctly then ensure you have set the path(s) foe the correct include directories. If you are using visual Studio then this should have been done for you at install time.
|
|
|
|
|
Hello Friends
I created a Dialog based application in MFC Inherited from CFormView. I created this application on resolution 1024 X 768. But when I am opening the same application on another system with Higer Resolution then window is opening of full size in window with Extra Blank space in application other than Controls.
Can we make application size Constant or make maximize button disable so tht on Higher resolution Desktop,it will not open up with blank space ?
Or
Can we resize controls according to resolution ?
Thanks & Regards
Yogesh Sikri
|
|
|
|
|
|
I need help starting a do-while loop in my program that runs up to 10 time that asks the user to enter up to 10 scores, which include the slope and rating for the course, and calculates the handicap for each score. Any help is greatly appreciated. Here's what I have so far:
#include <iostream>
#include <string>
using namespace std;
int main()
{
int score, slope;
double rating, handicap;
string name;
cout << "This program calculates a golfer's handicap.\n";
cout << "Enter your name: ";
cin >> name;
cout << "Hello " << name << endl;
cout << "Please enter your score: ";
cin >> score;
cout << "Please enter the course slope: ";
cin >> slope;
cout << "Please enter the course rating: ";
cin >> rating;
handicap = (score-rating) * 113 / slope ;
cout << "Your handicap is " << handicap << endl;
return 0;
}
|
|
|
|
|
think count adding a counter to count the number of scores, maybe
int scorecount = 0;
and at the end of a score 'collect', increment the counter
scorecount += 1;
then you need to add something like
do
{
}
while scorecount
around your logic - you textbooks/google should also be able to fill these gaps in for you
Question : are you sure do-while is what you really need here - what are the pitfalls with it ?
'g'
|
|
|
|
|
Thank you very much Garth. Yes my text calls for a Do-While loop that runs up to 10 times and asks the user to enter up to 10 scores, which include the slope and rating for the course, and calculates the handicap for each score. Then I'll need to use either parallel arrays or a two-dimensional array in order to store the score, slope and rating for each entry, and variables for the handicap accumulator and number of scores entered.
|
|
|
|
|
fair enough - you can see then using a counter, that you might like to use that as the array index to store the values as well - just a thought
'g'
|
|
|
|
|
Well,i'm glad to help you.It's my way to solve the problem.In my point,it's exactl solution.Thank you.
Quote: //This program calculates a golfers handicap.
#include <iostream>
#include <string>
using namespace std;
int main()
{
int score, slope;
double rating, handicap;
string name;
int time=1;
cout << "This program calculates a golfer's handicap.\n";
cout << "Enter your name: ";
cin >> name;
cout << "Hello " << name << endl;
//Have the user to input their name, score, slope, and handicap.
do{
cout << "Please enter your score: ";
cin >> score;
cout << "Please enter the course slope: ";
cin >> slope;
cout << "Please enter the course rating: ";
cin >> rating;
//Calculate the golfers handicap
handicap = (score-rating) * 113 / slope ;
cout << "Your handicap is " << handicap << endl;
time++;
}while(time<=10);
return 0;
}
|
|
|
|
|
behavior of <dynamic_cast> with abase/derived scenario and how it is useful.thanks in advance.
|
|
|
|
|
here[^], here[^], maybe here[^] I'm sure there are examples all over the web.
|
|
|
|