simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] connecting pins in simulavrxx


From: Michael Hennebry
Subject: [Simulavr-devel] connecting pins in simulavrxx
Date: Sat, 19 Jul 2008 13:25:07 -0500 (CDT)

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   address@hidden
"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."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]