View previous topic :: View next topic |
Author |
Message |
Robert_Pre
Joined: 04 Mar 2010 Posts: 53

|
Posted: Tue Feb 23, 2016 9:41 am Post subject: problem with the new version 2.0.7.9 on Win7 |
|
|
hello
i have problem with the new release of bascom AVR on my computer with Win7 but with the other Win8 all is OK
the problem:see picture joint
the variable is define as this: dim V as string * 8
[b][color=red](BASCOM-AVR version : 2.0.7.8 , Latest : 2.0.7.8 )[/b][/color] _________________ F1GHO |
|
Back to top |
|
 |
Duval JP
Joined: 22 Jun 2004 Posts: 1198 Location: France

|
Posted: Tue Feb 23, 2016 10:31 am Post subject: |
|
|
Hello Robert
I never use SEED display , but I see the Help
LCDAT y , x , var [ , inv]
LCDAT y , x , var [ , FG, BG]
in you program you wrote : LCDAT y,x, "V" ; vers
you have no rignt to use ";"
Bon courage
jp
 |
|
Back to top |
|
 |
Robert_Pre
Joined: 04 Mar 2010 Posts: 53

|
Posted: Tue Feb 23, 2016 2:21 pm Post subject: compilation sous Win7 32bits bascom V2.0.7.8 |
|
|
bonjour
merci JP de la réponse mais le problème avec mon pc 64 bits sous Win8 tout va bien dans la compilation
alors qu'avec mon autre portable 32bits sous Win7 il y a bug...pourtant le même bascom et même programme?
Lcdat , 2 , 6 , " F1GHO 2016"
Lcdat , 4 , 5 , " 1-wire DS18B20" , 1 ' 1 = inverse le text
Line(0 , 20) -(127 , 20) , 255 ' ligne horizontal
Line(0 , 35) -(127 , 35) , 255
Line(0 , 20) -(0 , 35) , 255 : Line(127 , 20) -(127 , 35) , 255 'lignes verticales
Lcdat , 7 , 1 , " ANALYSE SONDES"
Lcdat , 8 , 8 , "V " ; Vers 'ici la variable est :dim vers as string * 8 et definie comme Vers =" 1.00" _________________ F1GHO |
|
Back to top |
|
 |
Robert_Pre
Joined: 04 Mar 2010 Posts: 53

|
Posted: Tue Feb 23, 2016 2:23 pm Post subject: compilation bascomAVR 2.0.7.8 sous Win7 32bits |
|
|
suite message précedent
ici une autre partie d'affichage qui va bien sous compilateur 64bits Win8 toujours version bascom 2.0.7.8
For M = 1 To Nb_capt
If Sonde(m) = 0 Then Etat = "OK" Else Etat = "ERREUR"
Lcdat , M , 1 , "sonde " ; M ; " " ; Etat , Sonde(m)
Next
merci
cordialement _________________ F1GHO |
|
Back to top |
|
 |
Duval JP
Joined: 22 Jun 2004 Posts: 1198 Location: France

|
Posted: Tue Feb 23, 2016 2:42 pm Post subject: |
|
|
Please Robert here we must speak English only.
I have no explanation,
and I change my 2 PC for W10, all my programs are working well. I keep a old one under XP
may be try to have a ticket with support.
JP |
|
Back to top |
|
 |
albertsm
Joined: 09 Apr 2004 Posts: 6200 Location: Holland

|
Posted: Tue Feb 23, 2016 2:47 pm Post subject: |
|
|
it appears there was a problem with the update. I advise to run update again, or to download the full setup and run it.
If that does not work out : show some piece of code that we can check. Just a screen shot does not help much, especially with the colors you used which have little contrast. _________________ Mark |
|
Back to top |
|
 |
Robert_Pre
Joined: 04 Mar 2010 Posts: 53

|
Posted: Tue Feb 23, 2016 7:57 pm Post subject: problem compil with the new version 2.0.7.8 on Win7 |
|
|
hello
thanks for the answers, my english is not top...i hope you understand what i write!
on my computer 64 bits with windows8 and the bascom-avr 2.0.7.8 no problem.
the same program on my computer 32 bits with Win7 problem with the compilateur.
i join a program but all the old programm cause problem in compilation.
before the new version no problem, now all the prgrams cause problem in compilation.....
i clean all the program BASCOM, clean register...and proced to a new instal but the problem is the same
thanks for your help _________________ F1GHO |
|
Back to top |
|
 |
albertsm
Joined: 09 Apr 2004 Posts: 6200 Location: Holland

|
Posted: Tue Feb 23, 2016 8:50 pm Post subject: |
|
|
look at the Shiftout statements, they have a comma wrong (they start with a comma)
Right syntax : Shiftout Sda , Scl , Reg_fonc , 1 , 21 , 10
your code : Shiftout , Sda , Scl , Reg_fonc , 1 , 21 , 10 _________________ Mark |
|
Back to top |
|
 |
albertsm
Joined: 09 Apr 2004 Posts: 6200 Location: Holland

|
Posted: Tue Feb 23, 2016 8:53 pm Post subject: |
|
|
and you repeat that problem with LCDAT : Lcdat , 7 , 1 , " ANALYSE SONDES" which should be : Lcdat 7 , 1 , " ANALYSE SONDES" _________________ Mark |
|
Back to top |
|
 |
Robert_Pre
Joined: 04 Mar 2010 Posts: 53

|
Posted: Tue Feb 23, 2016 10:30 pm Post subject: |
|
|
ok
but with the v2.0.7.7 this problem no exist and even with this comma all is good in the compiler!!!?
i will try and say you
thanks _________________ F1GHO |
|
Back to top |
|
 |
albertsm
Joined: 09 Apr 2004 Posts: 6200 Location: Holland

|
Posted: Tue Feb 23, 2016 10:39 pm Post subject: |
|
|
New versions often have increased error checking. So that an old version did not complaint about an error means nothing. _________________ Mark |
|
Back to top |
|
 |
Robert_Pre
Joined: 04 Mar 2010 Posts: 53

|
Posted: Tue Feb 23, 2016 10:57 pm Post subject: |
|
|
OK without the comma the compil is good
but i have always this:
Error : 5 Line : 185 No more space for BIT [___FGCOLOR] , in File : C:\Users\Robert\Documents\ATMEGA PROGRAMMES\POMPE CHALEUR\DS18B20_12bits_X_bus_2560.bas
Error : 5 Line : 185 No more space for BIT [___BGCOLOR] , in File : C:\Users\Robert\Documents\ATMEGA PROGRAMMES\POMPE CHALEUR\DS18B20_12bits_X_bus_2560.bas _________________ F1GHO |
|
Back to top |
|
 |
Duval JP
Joined: 22 Jun 2004 Posts: 1198 Location: France

|
Posted: Wed Feb 24, 2016 10:44 am Post subject: |
|
|
yes it is true,
again you wrote with a ","
Lcdat, M , 1 , "sonde " ; M ; " " ; Etat , Sonde(m) ' give an error
Lcdat M , 1 , "sonde " ; M ; " " ; Etat , Sonde(m)' is ok
your program as 4 or 5 errors like that
now I compiled it without error
jp |
|
Back to top |
|
 |
|