Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 182 matches
www.mcselec.com Forum Index
Author Message
  Topic: Updates
O-Family

Replies: 5
Views: 258

PostForum: Various   Posted: Wed Aug 05, 2020 1:03 am   Subject: Updates
If you are charged for each version upgrade, many users will be forced to continue using the version at the time of purchase.
And only some wealthy heavy users will remain.
That may lead to the decl ...
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Tue Jul 14, 2020 10:09 am   Subject: ARDUINO UNO_ADC_4_DIGITOS
Why call [Presenta] in the main routine (Do-Loop) without enabling interrupts?
I think your fix just happens to be in sync and the display looks good.

Furthermore, when you look at the picture, it ...
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Tue Jul 14, 2020 1:56 am   Subject: ARDUINO UNO_ADC_4_DIGITOS
When LEDs are dynamically lit (pulse lit) (duty lit), if the display time for each digit is not constant, the light and shade will appear for each digit.
Normally, a periodic interrupt is used to lig ...
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Mon Jul 13, 2020 1:11 pm   Subject: ARDUINO UNO_ADC_4_DIGITOS
Hello, Mark
I overlooked this wonderful function.
Recent additions?
I'll add it to my manual now!
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Sun Jul 12, 2020 4:01 am   Subject: ARDUINO UNO_ADC_4_DIGITOS
I was able to understand the method you want to achieve.
It's a programming mistake.

Dim W As Word
Dim W1 As Word
Dim W2 As Word
Dim W3 As Word
Dim W4 As Word

W = 1234

...
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Sun Jul 12, 2020 2:47 am   Subject: ARDUINO UNO_ADC_4_DIGITOS
I think your math is wrong.
This can be achieved with the following program.
However, as I suggested earlier, it is faster to save flash and faster if you divide the 4-digit number into the 2 high-o ...
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Sun Jul 12, 2020 1:28 am   Subject: ARDUINO UNO_ADC_4_DIGITOS
What doesn't work?
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Sat Jul 11, 2020 9:30 am   Subject: ARDUINO UNO_ADC_4_DIGITOS
You can see the result as soon as you use the simulator!
  Topic: ARDUINO UNO_ADC_4_DIGITOS
O-Family

Replies: 34
Views: 1115

PostForum: BASCOM-ARDUINO   Posted: Sat Jul 11, 2020 2:50 am   Subject: ARDUINO UNO_ADC_4_DIGITOS

Dim Ledbuff(4) As Byte 'Dynamic lighting segment data.
Dim Temp1 As Byte
Dim Tempw1 As Word
Dim Tempw2 As Word
Dim Tempw3 As Word
Dim ...
  Topic: NEW PAID VERSION OF BASCOM TO SUPPORT NEW MICROCONTROLLERS
O-Family

Replies: 26
Views: 1984

PostForum: BASCOM-AVR   Posted: Fri Jul 10, 2020 1:31 am   Subject: NEW PAID VERSION OF BASCOM TO SUPPORT NEW MICROCONTROLLERS
To charge for BASCOM version upgrade means that Mark will listen to the user's voice for the version upgrade and take prompt action and responsibility for support and bug countermeasures.
That will b ...
  Topic: COMPARATIVE OPERATORS_ARDUINO UNO
O-Family

Replies: 10
Views: 480

PostForum: BASCOM-ARDUINO   Posted: Fri Jun 12, 2020 12:49 am   Subject: COMPARATIVE OPERATORS_ARDUINO UNO
To resolve this issue, please contact MCS Support and ask Mark to update!
  Topic: COMPARATIVE OPERATORS_ARDUINO UNO
O-Family

Replies: 10
Views: 480

PostForum: BASCOM-ARDUINO   Posted: Thu Jun 11, 2020 8:23 am   Subject: COMPARATIVE OPERATORS_ARDUINO UNO
C = A = B
C = A > B
These arithmetic expressions put True[1] or False[0] of the calculation result in the variable C.

C = A <> B
The above is probably a BASCOM oversight or bug.

Howe ...
  Topic: TIFR1_ARDUINO UNO
O-Family

Replies: 2
Views: 190

PostForum: BASCOM-ARDUINO   Posted: Sun Jun 07, 2020 4:01 am   Subject: TIFR1_ARDUINO UNO

Do
If Tifr1.tov1 = 1 Then
Tifr1.tov1 = 1 : Toggle Led
End If
loop

If you need 1Hz

Config Timer1 = Timer , Prescale = 1024 , Clear Timer = 1
Compare1a = 15625 - 1

...
  Topic: PULSEIN_ARDUINO UNO
O-Family

Replies: 15
Views: 598

PostForum: BASCOM-ARDUINO   Posted: Thu May 28, 2020 11:34 am   Subject: PULSEIN_ARDUINO UNO
If this does not stabilize the reading, your signal may be unstable.
The pulse width of servo motor is generally 0.8mS-2.2mS.

Do
Bitwait Pind.2 , Reset
Pulsein W , Pind , 2 , 1
Locate ...
  Topic: PULSEIN_ARDUINO UNO
O-Family

Replies: 15
Views: 598

PostForum: BASCOM-ARDUINO   Posted: Wed May 27, 2020 1:47 am   Subject: PULSEIN_ARDUINO UNO
As mentioned earlier, the additional libraries are not meant to improve the accuracy of the [Pulsein] command.
Additional libraries allow you to change the measurement timeout and measurement interva ...
 
Page 1 of 13 Goto page 1, 2, 3 ... 11, 12, 13  Next
All times are GMT + 1 Hour
Jump to: