Atmel AVR Microcontroller discussion group.
Can I actually burn a chip using just Bascom software via the computer parallel ports? I would connect using the apparently standard printer port(if there is one). If so, how do I know that the correct bits of the parallel port are the right ones to correspond with the chip pins? (Atmega16) OR Do I need to create a file and use a separate burning program like ponyprog or whatever? Thanks Ted Smith
--- In avrclub@avrc..., "Ted Smith" <tedsmithau@...> wrote: > > Can I actually burn a chip using just Bascom software via the computer > parallel ports? > I would connect using the apparently standard printer port(if there is > one). > If so, how do I know that the correct bits of the parallel port are > the right ones to correspond with the chip pins? (Atmega16) > OR > Do I need to create a file and use a separate burning program like > ponyprog or whatever? > Thanks > Ted Smith > A very simple and cheep programmer can be found at http://www.opend.co.za
hi
i can not this program compileing with BASCOM plz help me
$regfile = "m8535.dat"
' we use internal osc 8000000 for atmega8535
$crystal = 8000000
Config Lcdpin = Pin , Db4 = Pinc.3 , Db5 = Pinc.2 , Db6 = Pinc.1 , Db7 = Pinc.0 , E =
Pinc.5 , Rs = Pinc.4
Config Lcd = 16 * 1a
Config Adc = Single , Prescaler = Auto
Deflcdchar 0 , 24 , 24 , 32 , 32 , 32 , 32 , 32 , 32 'we replace ? with number 0
Dim W As Word , Channel As Byte
Start Adc
Cursor Off
Do
W = Getadc(0)
W = W / 2
Home
Lcd W ; Chr(0) ; "C"
Waitms 100
Select Case W
Case Is =< 10 :
Cls
Home L
Lcd " Low"
Case 11 To 34 :
Cls
Home L
Lcd " Normal"
Case Is >= 35
Cls
Home L
Lcd " High"
End Select 'end program select
Loop
End
compiling give this erorr
Error : 202 Line : 6 .EQU not found, probably using functions that are not
supported by the selected chip [ADCSR] , in File : C:\NONAME1.BAS
Error : 1 Line : 9 Unknown statement [.EQU not found for:ADCSR] , in File :
C:\NONAME1.BAS
Error : 1 Line : 33 Unknown statement [.EQU not found for:ADCSR] , in File :
C:\NONAME1.BAS
Error : 1 Line : 33 Unknown statement [.EQU not found for:ADCSR] , in File :
C:\NONAME1.BAS
Error : 1 Line : 33 Unknown statement [.EQU not found for:ADCSR] , in File :
C:\NONAME1.BAS
Error : 1 Line : 33 Unknown statement [.EQU not found for:ADCSR] , in File :
C:\NONAME1.BAS
---------------------------------
Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail
[Non-text portions of this message have been removed]