Is this a right way to connect simulavrxx processors in C++?

const string devicename="atmega128";
AvrDevice *dev1=AvrFactory::instance().makeDevice(devicename);
AvrDevice *dev2=AvrFactory::instance().makeDevice(devicename);

net=new Net();
net.Add(dev1->GetPin("B2"));
net.Add(dev2->GetPin("D7"));


-- 
Michael   [EMAIL PROTECTED]
"Those parts of the system that you can hit with a hammer (not advised)
are called Hardware;  those program instructions that you can only
curse at are called Software."



_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to