ATMEGA8 INTERFACING WITH PC

Status
Not open for further replies.

zohaib

Member level 4
Joined
Aug 24, 2007
Messages
75
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
PAKISTAN
Activity points
1,729
hello everyone :
i want to display the atmega8 adc result on my pc using vb
$regfile "m8def.dat"
$baud 9600
dim adcresult as byte
adcresult=getadc(4)
print adcresult
end

if this code is ok
can any one post me code of vb to display the data(binary or hex) on my pc monitor
i have a good knowledge about mscomm control but i couldn`t identify my error
PLEASE HELP ME WITH COMPLETE VB CODE
I WILL BE VERY THANKFUL
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…