Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Anyone else have the hardware to check this?

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
KenHorse

Bascom Member



Joined: 16 Jul 2004
Posts: 471

blank.gif
PostPosted: Wed Aug 07, 2019 4:30 pm    Post subject: Anyone else have the hardware to check this? Reply with quote

This code works if compiled under 2.0.8.1 but under 2.0.8.2, it only generates a 1.3 kHz neverending tone on my system. However, the print statement reprints approx. every 23 seconds

Code:

$regfile = "m2561def.dat"
$crystal = 16000000
$hwstack = 300
$swstack = 200
$framesize = 100
$baud = 57600

Dim DialString As String * 10

Enable Interrupts

DialString = "12345678"
Print "DialString " ; DialString

DtmfOut DialString , 60


End
 


I stumbled across this when 2.0.8.2 broke this in existing code, so I tried the above simple test with the same results

(BASCOM-AVR version : 2.0.8.2 )
Back to top
View user's profile
six1

Bascom Expert



Joined: 27 Feb 2009
Posts: 539

germany.gif
PostPosted: Thu Aug 08, 2019 6:21 am    Post subject: Reply with quote

...same here: https://bascomforum.de/index.php?thread/1702-dtmf-ausgabe-mit-undefinierten-pausepegeln/&postID=28027#post28027

User Mitch64 compiled the mcs.lib and mcs.lbx worked

_________________
For technical reasons, the signature is on the back of this message.
Back to top
View user's profile
KenHorse

Bascom Member



Joined: 16 Jul 2004
Posts: 471

blank.gif
PostPosted: Thu Aug 08, 2019 3:40 pm    Post subject: Reply with quote

six1 wrote:
...same here: https://bascomforum.de/index.php?thread/1702-dtmf-ausgabe-mit-undefinierten-pausepegeln/&postID=28027#post28027

User Mitch64 compiled the mcs.lib and mcs.lbx worked


thank you. Now I just need to translate to English Laughing
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 4798
Location: Holland

blank.gif
PostPosted: Thu Aug 08, 2019 9:07 pm    Post subject: Reply with quote

i checked it and mcs.lbx in the setup is not in sync with mcs.lib.
Use Tools Lib manager to compile mcs.lib

_________________
Mark
Back to top
View user's profile Visit poster's website
KenHorse

Bascom Member



Joined: 16 Jul 2004
Posts: 471

blank.gif
PostPosted: Thu Aug 08, 2019 9:32 pm    Post subject: Reply with quote

albertsm wrote:
i checked it and mcs.lbx in the setup is not in sync with mcs.lib.
Use Tools Lib manager to compile mcs.lib


Thanks Mark, that did it
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum