Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1913 matches
www.mcselec.com Forum Index
Author Message
  Topic: I2C BUS question
MWS

Replies: 5
Views: 170

PostForum: BASCOM-AVR   Posted: Fri May 07, 2021 12:26 pm   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: I2C BUS question
MWS

Replies: 5
Views: 170

PostForum: BASCOM-AVR   Posted: Fri May 07, 2021 12:17 pm   Subject: I2C BUS question
3 sensors with the same address and 1 with the same address + the RTC address.
If you don't want to spare pins, you can give each of the 5 slaves its very own channel, afaics multibus supports 16 cha ...
  Topic: I2C BUS question
MWS

Replies: 5
Views: 170

PostForum: BASCOM-AVR   Posted: Thu May 06, 2021 6:55 pm   Subject: Re: I2C BUS question
I Think yes but ...
I think no.

The logical side of it: hard TWI, as well as soft I2C use the same commands like I2CStart, I2CWByte a.s.o. , thus to use multiple channels there must be a mechanism ...
  Topic: AVR128DB32 and ...64 What great chips!
MWS

Replies: 14
Views: 399

PostForum: BASCOM-AVR   Posted: Tue May 04, 2021 8:13 am   Subject: AVR128DB32 and ...64 What great chips!
For such cases a gmx-account comes handy, it works even then, if others get blocked.
  Topic: internal constants from a code
MWS

Replies: 4
Views: 108

PostForum: BASCOM-AVR   Posted: Sat Apr 24, 2021 12:05 pm   Subject: Re: internal constants from a code
is it possible to know the current uart communication speed by reading the internal constants from the code while the program is running?
For the UART-speeds no internal constants are available, lik ...
  Topic: Problem with Single variable
MWS

Replies: 17
Views: 388

PostForum: BASCOM-AVR   Posted: Fri Apr 23, 2021 5:59 pm   Subject: Problem with Single variable
A Kumbaya moment
Very Happy
  Topic: Problem with Single variable
MWS

Replies: 17
Views: 388

PostForum: BASCOM-AVR   Posted: Fri Apr 23, 2021 7:33 am   Subject: Problem with Single variable
SZTRAD, I do not have qualms against you, imho you are a knowledgeable member and I appreciate your posts.
Your intention of showing the effect of limited accuracy with Single was laudable, but it wo ...
  Topic: Problem with Single variable
MWS

Replies: 17
Views: 388

PostForum: BASCOM-AVR   Posted: Thu Apr 22, 2021 4:18 pm   Subject: Problem with Single variable
please do not make this a word game.
Had not the slightest intention to play word games.

I do not like that somebody degrades other posters messages for the purpose of creating a springboard for h ...
  Topic: Problem with Single variable
MWS

Replies: 17
Views: 388

PostForum: BASCOM-AVR   Posted: Thu Apr 22, 2021 3:30 pm   Subject: Problem with Single variable
what the guys are trying to tell
I was not trying to tell, as the phrase 'trying to' stands somehow for a rather failing approach.

I actually did tell.

as bigger its value grows, as more accura ...
  Topic: Problem with Single variable
MWS

Replies: 17
Views: 388

PostForum: BASCOM-AVR   Posted: Thu Apr 22, 2021 10:00 am   Subject: Re: Problem with Single variable
Anyone know what i make wrong??
Your error is, that your question is not sharp enough, you do not tell what you expect.

Single is a variable with huge range but limited accuracy, and as bigger its ...
  Topic: Question about RC5 without getRC5 "2083 ENHANCED"
MWS

Replies: 8
Views: 327

PostForum: BASCOM-AVR   Posted: Sun Mar 21, 2021 6:06 pm   Subject: Re: solved
testet with 8, 88, 328P
Compiles with ATM88 & 328, not with ATM8.
It works regardless of the error messages,
It actually works or it actually compiles?
I have the same issue here, compiling fo ...
  Topic: Question about RC5 without getRC5 "2083 ENHANCED"
MWS

Replies: 8
Views: 327

PostForum: BASCOM-AVR   Posted: Sat Mar 20, 2021 7:39 pm   Subject: Re: Question about RC5 without getRC5 "2083 ENHANCED&qu
Good day!]Code is like in the example.
Completely identical, including type of controller?
  Topic: Interrupt overflows being missed?
MWS

Replies: 29
Views: 1043

PostForum: BASCOM-AVR   Posted: Mon Mar 01, 2021 8:45 am   Subject: Re: Results
On Int1 ISR_Int1 SAVEALL
On Ovf0 Timer0_isr SAVEALL
SAVEALL is useless here, as the ISRs do not use any register for which the default setting does not take care of.
More exactly: r6, r8-r9, r12-r1 ...
  Topic: Interrupt overflows being missed?
MWS

Replies: 29
Views: 1043

PostForum: BASCOM-AVR   Posted: Sun Feb 28, 2021 1:29 pm   Subject: Interrupt overflows being missed?
The code has several flaws.
First, the comment
15625 pulses per second / 255 = 61.27
is wrong. 8bits are 256 states, an 8bit-timer has 256 states, as zero is one state too. The calculation must div ...
  Topic: Compile problem - Incorrect Number Of Paremeters
MWS

Replies: 3
Views: 206

PostForum: BASCOM-AVR   Posted: Thu Feb 25, 2021 1:29 am   Subject: Compile problem - Incorrect Number Of Paremeters
Remove the braces.
Only functions are called with braces, sub calls go without.
 
Page 1 of 128 Goto page 1, 2, 3 ... 126, 127, 128  Next
All times are GMT + 1 Hour
Jump to: