Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 28 matches
www.mcselec.com Forum Index
Author Message
  Topic: Simulator wait n and waitms n problem
sidknox

Replies: 2
Views: 521

PostForum: BASCOM-AVR Unsupported versions   Posted: Mon Nov 13, 2017 5:02 am   Subject: Simulator wait n and waitms n problem
Hi Ian,
You obviously know your way around the Simulator, that fixed it.
The delay time now is a factor of about 6 longer than the time specified in the 'Wait n' statement but that is ok for ...
  Topic: Simulator wait n and waitms n problem
sidknox

Replies: 2
Views: 521

PostForum: BASCOM-AVR Unsupported versions   Posted: Sun Nov 12, 2017 12:41 am   Subject: Simulator wait n and waitms n problem
I am unable to make either "wait n" or "waitms n" work in the simulator.
This simple code example shows the problem:

****************************************************************************** ...
  Topic: ATtiny85 serial data
sidknox

Replies: 2
Views: 479

PostForum: BASCOM-AVR Unsupported versions   Posted: Tue Oct 27, 2015 5:53 pm   Subject: ATtiny85 serial data
Good morning Mark,
I had read the OPEN help but obviously not well enough. As MWS has reminded me on such occasions...the problem is sitting in front of the keyboard.

I thank you for the fast res ...
  Topic: ATtiny85 serial data
sidknox

Replies: 2
Views: 479

PostForum: BASCOM-AVR Unsupported versions   Posted: Mon Oct 26, 2015 5:23 pm   Subject: ATtiny85 serial data
Good morning,
I have a nice little ChiCom ATtiny85 module from ebay (about USD $2 including shipping). I have a project planned for it where it will read a sensor and send a serial string to a PC. ...
  Topic: TCXO for atmega 8, 168 or 328
sidknox

Replies: 4
Views: 1080

PostForum: BASCOM-AVR Archive   Posted: Thu Oct 23, 2014 1:51 am   Subject: TCXO
Pat,
I am not sure what you are asking, but maybe this?
Here are many TCXO, some quite inexpensive.

http://www.ebay.com/sch/i.html?_odkw=crystal+oscillator&_ftrt=901&_sop=12&_sadis ...
  Topic: ACS712 for AC Current measurement
sidknox

Replies: 15
Views: 2406

PostForum: BASCOM-AVR Archive   Posted: Tue Jul 15, 2014 1:05 am   Subject: ACS712 for AC Current measurement
tarique, you said:

"i have ACS712-30A ..."
and
"...its increment is 66mV/ampere..."
and
"... i have connected load of 100W with 220V..."


The current for a 100W load is I = 100W / 220V = ...
  Topic: Problem receiving RS-232 serial data
sidknox

Replies: 3
Views: 608

PostForum: BASCOM-AVR Unsupported versions   Posted: Wed Jun 18, 2014 3:50 am   Subject: Problem receiving RS-232 serial data
@ Kim
YES!! The "PrintBin" fixed the problem!! I realize now that the "Print" was sending ASCII... that is why it was "human-readable" on the Hypertern monitor. And at the receive end I was seein ...
  Topic: Problem receiving RS-232 serial data
sidknox

Replies: 3
Views: 608

PostForum: BASCOM-AVR Unsupported versions   Posted: Tue Jun 17, 2014 1:18 am   Subject: Problem receiving RS-232 serial data
Hardware:
1) mega64 transmitting a short test message
2) mega32`receiving the message.
3) a separate pc running Hyperterm looking at the serial data line and displaying the message.

All three s ...
  Topic: Check Syntax in IDE
sidknox

Replies: 2
Views: 295

PostForum: BASCOM-AVR Unsupported versions   Posted: Mon May 26, 2014 2:23 am   Subject: Check Syntax in IDE
Yes, I am aware of that option. However, that does not address my point that Ctlr F7 and F7 appear to do the same thing.
  Topic: Check Syntax in IDE
sidknox

Replies: 2
Views: 295

PostForum: BASCOM-AVR Unsupported versions   Posted: Sun May 25, 2014 7:54 pm   Subject: Check Syntax in IDE
It is not uncommon (for me anyway) that sometimes when editing or adding-to a working program that a slip of the finger can insert some incorrect char during the edit. Then Compile (F7) will do the s ...
  Topic: Using Internal EEPROM
sidknox

Replies: 3
Views: 480

PostForum: BASCOM-AVR Archive   Posted: Fri May 23, 2014 5:17 pm   Subject: Using Internal EEPROM
Yes Evert!! That is what I was missing. I had seen that tab but mistakenly assumed that it was for code only.
Thank you very much!!
Sid
  Topic: Using Internal EEPROM
sidknox

Replies: 3
Views: 480

PostForum: BASCOM-AVR Archive   Posted: Fri May 23, 2014 6:34 am   Subject: Using Internal EEPROM
I need to store some variable data in internal eeprom.
I wrote this simple program to refresh my brain on how to do it.
It runs ok and displays "1 2 3" on the LCD as expected.
Opening the Programme ...
  Topic: Challenge #1: frequency counter code module
sidknox

Replies: 12
Views: 1237

PostForum: BASCOM-AVR Archive   Posted: Sun May 04, 2014 5:39 am   Subject: Challenge #1: frequency counter code module
Expecting a "universal" freq counter code module seems unreasonable to me. The coding of the Subroutine or Function will be dependent upon:
1) input frequency
2) count resolution
3) capability of ...
  Topic: change distance unit cm to mm
sidknox

Replies: 1
Views: 165

PostForum: BASCOM-AVR Archive   Posted: Thu May 16, 2013 7:27 pm   Subject: change distance unit cm to mm
Hello Erwin,
It is not clear what is your question...
If it is "how to change the range measurement from cm to mm", then the obvious is to multiply cm by 10, ie.,

Range_max = Range_max * 10

B ...
  Topic: programming AD9850 - problems with precision of multiplicati
sidknox

Replies: 4
Views: 329

PostForum: BASCOM-AVR Archive   Posted: Mon May 13, 2013 4:03 am   Subject: problems with precision of multiplication
The Bascom HELP file discusses this very problem...

"Other Common Floating-Point Errors
The following are common floating-point errors:

1. Round-off error
This error results when all of the bi ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to: