Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
There are 3 ways to do this: one is using the hardware - which is through pin assignment. 2nd and 3rd is only involved simulation. This can be done using vector waveform files( .vwf) . In this you find all nodes using View -> utility windows -> node finder. And select the relevant node to...
go to assignments -> pin planner in quartus to link the dip switch with LT,BI and RBI. Not sure if thats what you want. Anyway, you will need the hardware to see whether it works or you can study the signal generated. There is no virtual components in quartus. :)
Sorry for the late reply,
here is the putch function. its needed for printf also.
void putch(unsigned char byte) {
/* output one byte */
while(!TRMT) /* set whilst TX in progress */
continue;
TXREG = byte;
}
apparently, i just found out that no read and write from the I2C as it fails...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.