Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1788 matches
www.mcselec.com Forum Index
Author Message
  Topic: Prescaler with XMEGA16A4
MWS

Replies: 9
Views: 207

PostForum: BASCOM-AVR   Posted: Mon May 25, 2020 7:13 am   Subject: Prescaler with XMEGA16A4
Maybe senior moment...
For this argument I still have to wait about ten years, I'm not the freshest salad in the garden either. LOL
You're welcome, no negative sentiments.
  Topic: Prescaler with XMEGA16A4
MWS

Replies: 9
Views: 207

PostForum: BASCOM-AVR   Posted: Sun May 24, 2020 8:45 pm   Subject: Prescaler with XMEGA16A4
While I wrote my previous.post, it (quite late) became obvious to me, that you've actually looked up the help's non-XMega SPI, this together with not looking up the data sheet (maybe because the XMega ...
  Topic: Prescaler with XMEGA16A4
MWS

Replies: 9
Views: 207

PostForum: BASCOM-AVR   Posted: Sat May 23, 2020 8:55 am   Subject: Prescaler with XMEGA16A4
do not think that I have a grudge against you, I just said, that you might consider that others than you have
much less knowledge of BASCOM than you.
I did not think that, even if you'd have one, I ...
  Topic: Prescaler with XMEGA16A4
MWS

Replies: 9
Views: 207

PostForum: BASCOM-AVR   Posted: Fri May 22, 2020 5:25 pm   Subject: Prescaler with XMEGA16A4
thank you for telling me the solution. I might not be as good as you in Bascom, but I have a lot of other hobbies and Bascom is only one of them.
My reply was not intended to sound like scolding.
Ra ...
  Topic: Prescaler with XMEGA16A4
MWS

Replies: 9
Views: 207

PostForum: BASCOM-AVR   Posted: Fri May 22, 2020 4:08 pm   Subject: Re: Prescaler with XMEGA16A4
The ... 'Help' gives only the possibility of 4/16/64.
The help at The data sheet ... gives only the possibility of 4/16/64.
XMEGA A MANUAL, rev. 8077I–AVR–11/2012, pages 228/229 give a range from /2 ...
  Topic: Hot keys for windows selection
MWS

Replies: 14
Views: 218

PostForum: BASCOM-AVR   Posted: Sat Apr 25, 2020 2:40 pm   Subject: Re: Hot keys for windows selection
This function does not work
Ah, just noticed, I wrote Shift-Tab, correct is Ctrl-Tab.
This can be easily done with the left hand.
Shift actually has some use in this context too, as together with C ...
  Topic: Hot keys for windows selection
MWS

Replies: 14
Views: 218

PostForum: BASCOM-AVR   Posted: Sat Apr 25, 2020 2:11 pm   Subject: Re: Hot keys for windows selection

...some reprogramming of the cerebral cortex is sufficient.
This function does not work
If a change of habits is not your thing, then you actually need Mark to adapt Bascom to your habits.
Person ...
  Topic: Hot keys for windows selection
MWS

Replies: 14
Views: 218

PostForum: BASCOM-AVR   Posted: Sat Apr 25, 2020 12:05 pm   Subject: Re: Hot keys for windows selection
If you remember how it was in Norton Commander or FAR: Alt-F1 and Alt-F2 (first and second window selection)
One may remember also how it was in Turbo-Pascal, but that doesn't mean it's useful or in ...
  Topic: CRC 16 Error
MWS

Replies: 4
Views: 290

PostForum: BASCOM-AVR   Posted: Fri Apr 24, 2020 1:19 pm   Subject: Re: CRC 16 Error
Thank you for your help.
No problem.
It turns out that the checksum code in the C sample was "rubbish"
My example still shows how C-rubbish can be successfully transformed into equivalent Bascom-ru ...
  Topic: Possible bug with endif / end if
MWS

Replies: 7
Views: 278

PostForum: BASCOM-AVR   Posted: Fri Apr 24, 2020 12:45 am   Subject: Possible bug with endif / end if
That would be a far traveling beer Very Happy
But thanks for the offer.
  Topic: Possible bug with endif / end if
MWS

Replies: 7
Views: 278

PostForum: BASCOM-AVR   Posted: Thu Apr 23, 2020 6:37 am   Subject: Possible bug with endif / end if
What happens if the byval is added to the function itself?
  Topic: Hotkey for "Proper Indent"
MWS

Replies: 6
Views: 261

PostForum: BASCOM-AVR   Posted: Tue Apr 21, 2020 10:43 pm   Subject: Hotkey for "Proper Indent"
please all : take care what this topic is about. if there is need to discuss other things, open a new topic.
If someone writes, 'Oh, btw. I've found some error in the spacetime constant, but it was a ...
  Topic: Hotkey for "Proper Indent"
MWS

Replies: 6
Views: 261

PostForum: BASCOM-AVR   Posted: Tue Apr 21, 2020 6:30 pm   Subject: Hotkey for "Proper Indent"
2) Related to that I noted that the Shift instruction works on many variable types, but not on DWords.
That had an easy workaround, with just reading and assigning Bit values, (perhaps not the "best" ...
  Topic: CRC 16 Error
MWS

Replies: 4
Views: 290

PostForum: BASCOM-AVR   Posted: Mon Apr 20, 2020 4:26 pm   Subject: Re: CRC 16 Error
'CRC16uni Buffer 0000
' GOOD Result ?
Are you sure or are you guessing?
I get &h7002 assumed the C-code works ok.
Dim Ch As Byte
Crc = 0
For Xxx = 1 To 1031
Ch = databuffer(xxx ...
  Topic: CRC 16 Error
MWS

Replies: 4
Views: 290

PostForum: BASCOM-AVR   Posted: Sun Apr 19, 2020 9:26 pm   Subject: CRC 16 Error
1) Your code is a mess and pain to the viewer's eye. Do you know, that 'Data'-statements exist, from where it's possible to fill up the SRam-array?
2) To make bad things worse, you don't use the code ...
 
Page 1 of 120 Goto page 1, 2, 3 ... 118, 119, 120  Next
All times are GMT + 1 Hour
Jump to: