Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 703 matches
www.mcselec.com Forum Index
Author Message
  Topic: Error on com port 2 when acquiring GPS
EDC

Replies: 11
Views: 283

PostForum: BASCOM-AVR   Posted: Fri May 21, 2021 11:15 pm   Subject: Error on com port 2 when acquiring GPS
Lets start about enable the Code Explorer... -->View->Enable Code Explorer.
Then Right Click of the Mouse/Touchpad and->Show errrors
I dont know why this is not enabled by default. Tells mu ...
  Topic: I2C BUS question
EDC

Replies: 5
Views: 225

PostForum: BASCOM-AVR   Posted: Fri May 07, 2021 9:10 am   Subject: I2C BUS question
There are specialized chips for that such of "address conflicts"
If this is only hobby "one or two units" project then use TCA9548A or simillar.
Only if cost of one of the "thousants" piece matter ...
  Topic: Bascom 2083
EDC

Replies: 12
Views: 610

PostForum: BASCOM-AVR   Posted: Tue Apr 20, 2021 11:29 am   Subject: Bascom 2083
@JC Replace with Zadig newest Windows Winusb v43 driver for MKII with this showed on the screen Wink
I must do this every Win10 update ... so today I take a screenshot. Enjoy Very Happy

https://www.mcselec. ...
  Topic: Question about RC5 without getRC5 "2083 ENHANCED"
EDC

Replies: 8
Views: 357

PostForum: BASCOM-AVR   Posted: Sun Mar 21, 2021 9:06 pm   Subject: Question about RC5 without getRC5 "2083 ENHANCED"
Any usage of Baud, Print etc. will set TXEN RXEN of USART and override PORT/PIN functions. Remove Baud and Print`s if not used.
If you only want print then PD.0 can be "released" by UCSRB.RXEN = 0 co ...
  Topic: GetADC Conversion time on mega328
EDC

Replies: 13
Views: 664

PostForum: BASCOM-AVR   Posted: Wed Mar 17, 2021 6:42 am   Subject: GetADC Conversion time on mega328
In the programm you dont need to wait for the conversion...
This can even be a Interrupt source but if not needed then maybe this will be sufficient.
Simplified version below...


Do

'-------- ...
  Topic: GetADC Conversion time on mega328
EDC

Replies: 13
Views: 664

PostForum: BASCOM-AVR   Posted: Sat Mar 13, 2021 7:27 pm   Subject: GetADC Conversion time on mega328
Do you must probe more than one input? This is really question.
  Topic: Interrupt overflows being missed?
EDC

Replies: 29
Views: 1162

PostForum: BASCOM-AVR   Posted: Sat Mar 06, 2021 7:16 am   Subject: Interrupt overflows being missed?
Please enable Code Explorer for runtime code checking during programming.
There are TimerInterruptFlagRegister`s TIFR`s for every timer not TIVR`s.
https://www.mcselec.com/userpix/22760_screen_1.jpg
  Topic: var=PINx dynamic
EDC

Replies: 6
Views: 335

PostForum: BASCOM-AVR   Posted: Wed Mar 03, 2021 5:12 am   Subject: var=PINx dynamic
I make mistake here Very Happy
  Topic: var=PINx dynamic
EDC

Replies: 6
Views: 335

PostForum: BASCOM-AVR   Posted: Wed Mar 03, 2021 4:05 am   Subject: var=PINx dynamic
I dont investigate it but it is obvious that you cant set PINx.... you can only set PORTx or DDRx
  Topic: var=PINx dynamic
EDC

Replies: 6
Views: 335

PostForum: BASCOM-AVR   Posted: Wed Mar 03, 2021 1:48 am   Subject: var=PINx dynamic
For what chip because any may be addressed differently....Mega Xmega? Offset?
  Topic: Interrupt overflows being missed?
EDC

Replies: 29
Views: 1162

PostForum: BASCOM-AVR   Posted: Mon Mar 01, 2021 8:53 pm   Subject: Interrupt overflows being missed?
Yes. I didn't read the whole topic in depth. Maybe this is not the best uC for this job but this can be done.
What are minimum and maximum RPM?
If two impulses are for one revolution then this will ...
  Topic: Interrupt overflows being missed?
EDC

Replies: 29
Views: 1162

PostForum: BASCOM-AVR   Posted: Mon Mar 01, 2021 7:26 pm   Subject: Interrupt overflows being missed?
Timer2 or any Timer configured in Bascom dont need command "Start Timer". They start automatically. Command Start Timer is used only if you Stop Timer to start them again. So Timer2 is working for shu ...
  Topic: Interrupt overflows being missed?
EDC

Replies: 29
Views: 1162

PostForum: BASCOM-AVR   Posted: Mon Mar 01, 2021 2:07 pm   Subject: Interrupt overflows being missed?
Hello. Take a look on this code. It is based/mixed from those codes -> https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=14403&highlight=freq+duty.

T ...
  Topic: Compile problem - Incorrect Number Of Paremeters
EDC

Replies: 3
Views: 227

PostForum: BASCOM-AVR   Posted: Thu Feb 25, 2021 7:57 am   Subject: Compile problem - Incorrect Number Of Paremeters
Or simply...
Call Read_token(p , B , A)
will fix it too.
  Topic: Rainbow INstruction difficulty on the XTiny 402
EDC

Replies: 36
Views: 985

PostForum: BASCOM-AVR   Posted: Fri Feb 05, 2021 12:09 pm   Subject: Rainbow INstruction difficulty on the XTiny 402
I was reply to this post with my morning cup of coffe when next I must leave work and must get some things done.
I suppose that offset may differ form Xmega but TO can check this too Very Happy
Also Im pref ...
 
Page 1 of 47 Goto page 1, 2, 3 ... 45, 46, 47  Next
All times are GMT + 1 Hour
Jump to: