Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 15 matches
www.mcselec.com Forum Index
Author Message
  Topic: Frequency Measurements
MOR_AL

Replies: 7
Views: 871

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 08, 2020 2:44 pm   Subject: Frequency Measurements
have a look at

I started to study the instructions. Right at the beginning I noticed some inconsistencies.
Freq_duty_meter_v1.bas

Line 19.
Config TIMER1 = Counter, Prescale = 64, Capture_edge ...
  Topic: Frequency Measurements
MOR_AL

Replies: 7
Views: 871

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 07, 2020 12:39 pm   Subject: Frequency Measurements
have a look at


Thank you Duval JP!
I will study this solution.
MOR_AL
  Topic: Frequency Measurements
MOR_AL

Replies: 7
Views: 871

PostForum: BASCOM-AVR Archive   Posted: Fri Dec 04, 2020 11:42 pm   Subject: Frequency Measurements
... But it is the lack of info.
it is like asking if you can do pwm.
sure you can. but the important info is missing.
which micro do you plan to use (there are variants in timers).

ATmega328 o ...
  Topic: Frequency Measurements
MOR_AL

Replies: 7
Views: 871

PostForum: BASCOM-AVR Archive   Posted: Fri Dec 04, 2020 3:31 pm   Subject: Frequency Measurements
"Sorry about my English"
I designed a frequency meter with PIC microcontroller in Assembly language. The accuracy of this frequency meter equaled that of the microcontroller crystal.
Now I am studyi ...
  Topic: GETADC Command
MOR_AL

Replies: 7
Views: 627

PostForum: BASCOM-AVR   Posted: Sun Aug 30, 2020 9:38 pm   Subject: GETADC Command
You can also edit out the second ADC-scan to half the acquisition time. Described by Mark Alberts some Years ago.

Best regards
Hubert

OK!
Thank you.
MOR_AL
  Topic: GETADC Command
MOR_AL

Replies: 7
Views: 627

PostForum: BASCOM-AVR   Posted: Sat Aug 29, 2020 2:28 pm   Subject: GETADC Command
Ok, I got it.
I thank you who helped to clarify my doubts.

JC!
I will study your program. You have certainly endeavored to produce it.

MOR_AL
  Topic: GETADC Command
MOR_AL

Replies: 7
Views: 627

PostForum: BASCOM-AVR   Posted: Fri Aug 28, 2020 9:43 pm   Subject: GETADC Command
I thank you for the quick return and your answer makes perfect sense.
It would be an elementary failure if it did not happen.
At the moment I have no problems with the conversion speed. I would jus ...
  Topic: GETADC Command
MOR_AL

Replies: 7
Views: 627

PostForum: BASCOM-AVR   Posted: Fri Aug 28, 2020 9:02 pm   Subject: GETADC Command
I looked for my question and I didn't find it here.

I would be grateful if someone could clarify my doubts.

1 - When Bascom AVR finds the command var = GETADC (x), is there an internal procedure ...
  Topic: Doubt with editor
MOR_AL

Replies: 2
Views: 289

PostForum: BASCOM-AVR   Posted: Thu Apr 23, 2020 1:09 pm   Subject: Doubt with editor
Excuse me. It didn't work for me.

Config Lcdpin = Pin , Db4 = Portd.0 , Db5 = Portd.1 , Db6 = Portd.2 ,_
Db7 = Portd.3 , E = Portd.4 , Rs = Portd.5


... But it works with a small change. A bla ...
  Topic: Doubt with editor
MOR_AL

Replies: 2
Views: 289

PostForum: BASCOM-AVR   Posted: Wed Apr 22, 2020 8:16 pm   Subject: Doubt with editor
I would like to continue a long statement on the next line, but I don't know how to do it.

Ex. (113 characters)
Config Lcdpin = Pin , Db4 = Portb.1 , Db5 = Portb.2 , Db6 = Portb.3 , Db7 = Portb.4 ...
  Topic: Simulation
MOR_AL

Replies: 6
Views: 372

PostForum: BASCOM-AVR   Posted: Thu Sep 13, 2018 7:11 pm   Subject: Simulation
1 - I used the example as it is in AN # 144 - CodeLok AVR. I did not change anything. Line 29: $Regfile="attiny2313.dat" .
2 On lines 84 (Wait 2) and 87 (Wait 4) the simulation takes a long time. ...
  Topic: Simulation
MOR_AL

Replies: 6
Views: 372

PostForum: BASCOM-AVR   Posted: Thu Sep 13, 2018 2:32 pm   Subject: Re: Simulation
...
'Anyone' would guess that you do it wrong.
Set a breakpoint to line 104, press the desired key, single step with the F8-key to line 105, place the mouse pointer over Keyread, check the status li ...
  Topic: Simulation
MOR_AL

Replies: 6
Views: 372

PostForum: BASCOM-AVR   Posted: Wed Sep 12, 2018 5:50 pm   Subject: Simulation
I am trying o simulate the example AN#144 - CodeLok AVR.
I read on help file (pg. 86) "When you simulate the Keyboard, it is important that you press/click the keyboard button before simulating the g ...
  Topic: How to continue a long program line on the next line? Is it
MOR_AL

Replies: 2
Views: 187

PostForum: BASCOM-AVR   Posted: Wed Sep 12, 2018 1:50 pm   Subject: How to continue a long program line on the next line? Is it
The underscore does this trick.
It worked.
Thank you.
MOR_AL
  Topic: How to continue a long program line on the next line? Is it
MOR_AL

Replies: 2
Views: 187

PostForum: BASCOM-AVR   Posted: Wed Sep 12, 2018 11:51 am   Subject: How to continue a long program line on the next line? Is it
My LCD 16*2 program line has more than 80 caracters. I would like to use less than 80 caracters on first line and continue on the next line.
I want to print my program and limit the numbers of caract ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to: