Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] Generate timer intrup on external intrup

Status
Not open for further replies.

ANS HAFEEZ

Advanced Member level 4
Full Member level 1
Joined
Jul 25, 2013
Messages
101
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Location
LAHORE,PAKISTAN
Visit site
Activity points
1,911
SALAM
i have to interface 6 ULTRASONIC sensor with ATtiny 85 in my Project on ROBOTIC CAR..
i want to Generate an timer intrup when external intrupt comes (ULTRASONIC ECHO COMES)..
and measure the distance ...
and show the result on 16x2 LCD...
So i need some code examples to show variable values on lcd and measure distance
:oops:
 

You can look at the NewPing library of Arduino and modify that C++ code into C code and use it with your ATTiny chip.
 
Download and install Arduino IDE from arduino.cc and then google for and install NewPing.zip library. Go to library folder and study the .cpp and .h files.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top