Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 137 matches
www.mcselec.com Forum Index
Author Message
  Topic: Subroutine within Subroutine
naseerak

Replies: 2
Views: 808

PostForum: BASCOM-AVR Archive   Posted: Mon Oct 05, 2009 10:16 am   Subject: Subroutine within Subroutine
Hi
2nd day and no response so for, should not be the tradition of a helping forum.
  Topic: Subroutine within Subroutine
naseerak

Replies: 2
Views: 808

PostForum: BASCOM-AVR Archive   Posted: Sun Oct 04, 2009 9:57 am   Subject: Subroutine within Subroutine
HI And peace to all
I have a programme which is menu driven where it contains two main menues namely auto and Manual and these main menues contains furher sub menues like a tree. But when I call a su ...
  Topic: Resetting Fusebits
naseerak

Replies: 7
Views: 952

PostForum: BASCOM-AVR Archive   Posted: Tue Jun 23, 2009 2:29 pm   Subject: Resetting Fusebits
Sorry forgot to attach the JESUS'S Remedy.
  Topic: Resetting Fusebits
naseerak

Replies: 7
Views: 952

PostForum: BASCOM-AVR Archive   Posted: Tue Jun 23, 2009 2:25 pm   Subject: Fuse bits
Hi Antony
This is the remedy for your problem.
As JESUS used to gave new life to the dead, this programmer does the same with the AVR.
  Topic: Sub within sub
naseerak

Replies: 3
Views: 279

PostForum: BASCOM-AVR Archive   Posted: Wed May 06, 2009 11:21 am   Subject: Sub within sub
Hi
I have a question here I want to know that can a sub be called within another sub. actually I have a two subs which are being called from the main DO Loop and the third sub which is needed in bot ...
  Topic: ADC Port as Normal Port
naseerak

Replies: 1
Views: 235

PostForum: BASCOM-AVR Archive   Posted: Fri Apr 24, 2009 8:23 am   Subject: ADC Port as Normal Port
Hi

With the help of forum members especially AdrianJ I am able to accomplish my project. But now I ran out of port pins and want to use some of the pins from the ADC port as Normal I/O. I am using ...
  Topic: Two Alternate processes
naseerak

Replies: 4
Views: 514

PostForum: BASCOM-AVR Archive   Posted: Wed Mar 25, 2009 6:47 am   Subject: Two Alternate processes
Hi
Thanks Adrian I will give it a try and will post the results. BTW I will add to Ac: portion more code and ADC variables which will monitor the battery voltage for taking decisions for shutting off ...
  Topic: Two Alternate processes
naseerak

Replies: 4
Views: 514

PostForum: BASCOM-AVR Archive   Posted: Tue Mar 24, 2009 9:08 am   Subject: Two Alternate processes
Thanks evert I know you browsing this forum right now. btw I m using external pull up. I m using 1.11.9.0 tried with 1.11.9.1 too but to no vail I think I do not need Debounce as this pin will be gett ...
  Topic: Two Alternate processes
naseerak

Replies: 4
Views: 514

PostForum: BASCOM-AVR Archive   Posted: Tue Mar 24, 2009 8:44 am   Subject: Two Alternate processes
Hi
I M running this code it compiles OK the ups: portion runs fine but the Ac portion not. even when i hit the Pinb.5 button in Proteus the pwm stops but
the the program does not jump to the Label A ...
  Topic: 10 bit PWM
naseerak

Replies: 8
Views: 1096

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 24, 2009 8:00 am   Subject: 10 bit PWM
Hi
but someone tell me how to passing a value to a variable/s when a certain pin is high or low. and then jump to another program loop.
  Topic: 10 bit PWM
naseerak

Replies: 8
Views: 1096

PostForum: BASCOM-AVR Archive   Posted: Fri Feb 20, 2009 5:44 pm   Subject: 10 bit PWM
Hi
I have came out with the following code implementing ADC and scaling of Values as shown in this code:
$regfile = "m8def.dat"
$crystal = 8000000

$hwstack = 32
$swstack = 16
$framesize = 40
...
  Topic: 10 bit PWM
naseerak

Replies: 8
Views: 1096

PostForum: BASCOM-AVR Archive   Posted: Fri Feb 20, 2009 8:24 am   Subject: 10 bit PWM
Hi
Thanks for the helping tips now I have the crystal clear idea of what U have taught to me. this is a priceless piece of knowledge but i will complement u by saying a lot of thanks. for now i m fid ...
  Topic: 10 bit PWM
naseerak

Replies: 8
Views: 1096

PostForum: BASCOM-AVR Archive   Posted: Thu Feb 19, 2009 1:57 pm   Subject: 10 bit PWM
Hi
Thanks for the prompt reply. as the range is 1-------9999, I should be able to scale
the adc values to this like 9999/1023 and paste the values to the compare1a and compare1b register would it b ...
  Topic: 10 bit PWM
naseerak

Replies: 8
Views: 1096

PostForum: BASCOM-AVR Archive   Posted: Wed Feb 18, 2009 10:21 am   Subject: 10 bit PWM
Hi
By looking in to this code:
$regfile = "ATtiny2313.dat"
$crystal = 8000000

$hwstack = 32
$swstack = 16
$framesize = 40

Dim PWM_duty_cycle As Word

' =================================== ...
  Topic: ADC AND PWM
naseerak

Replies: 2
Views: 625

PostForum: BASCOM-AVR Archive   Posted: Tue Jan 06, 2009 7:07 pm   Subject: ADC AND PWM
Hi
Thanks for the valuable suggestion But right now I am n so confusing state of mind to do the maths. so far i know that the pwm will be inversely proportional to the ADC value.
I think I have to ...
 
Page 9 of 10 Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT + 1 Hour
Jump to: