Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 376 matches
www.mcselec.com Forum Index
Author Message
  Topic: AVR MKII Programmer not found
Arera

Replies: 3
Views: 282

PostForum: BASCOM-AVR   Posted: Mon Jul 29, 2019 1:56 pm   Subject: AVR MKII Programmer not found
For those interested:

LIBSUB did the job, and LIBSUB even got my brandnew 14 china MKII clone running!
  Topic: AVR MKII Programmer not found
Arera

Replies: 3
Views: 282

PostForum: BASCOM-AVR   Posted: Thu Jul 11, 2019 3:26 pm   Subject: AVR MKII Programmer not found
Hi Mark,
will try it next week, need the companies admin...
Thank you,
Marc
  Topic: AVR MKII Programmer not found
Arera

Replies: 3
Views: 282

PostForum: BASCOM-AVR   Posted: Thu Jul 11, 2019 2:59 pm   Subject: AVR MKII Programmer not found
Hi,
I set up a new Bascom (with new lizense) at my new office.
To get the AVRISP MKII Programmer to work, I Installed Atmel Studio 7.
In Studio 7, I get the Programmer connented and can read fuses ...
  Topic: absolute value of difference
Arera

Replies: 8
Views: 486

PostForum: BASCOM-AVR   Posted: Tue Jul 02, 2019 1:28 pm   Subject: absolute value of difference
Thank you folks for your thougts!

Laborratte:
If often used, I find ASM in a sub to be quite elegant. Not for single use, but I'm sure I'll make use of it once in a while.

Marc
  Topic: absolute value of difference
Arera

Replies: 8
Views: 486

PostForum: BASCOM-AVR   Posted: Tue Jul 02, 2019 9:12 am   Subject: absolute value of difference
Hi all,

working with unsigned vars, calculating the absolute value of the difference between to vars afforts a couple of steps.

Example using byte-constants:

89-5 = 84 'OK

5-89 = 171 'not ...
  Topic: PCINT does not work on every input-pin
Arera

Replies: 6
Views: 362

PostForum: BASCOM-AVR   Posted: Sun Jun 23, 2019 2:15 pm   Subject: PCINT does not work on every input-pin
OK. Got it.

In difference to "sjgfjhasgfuzawgu" (will not be compiled), "ON PCINT18 my_ISR" will compile. That lead my to assume that this is a valid Interrupt. That lead me to use PCINT1, expectin ...
  Topic: PCINT does not work on every input-pin
Arera

Replies: 6
Views: 362

PostForum: BASCOM-AVR   Posted: Sun Jun 23, 2019 12:22 pm   Subject: PCINT does not work on every input-pin
MWS, I got it.
PCMSK0 relates to Pinb.on PCINT18 isr18

meant for?
  Topic: PCINT does not work on every input-pin
Arera

Replies: 6
Views: 362

PostForum: BASCOM-AVR   Posted: Sun Jun 23, 2019 11:07 am   Subject: PCINT does not work on every input-pin
Hello,
I'm working on pin-change-interrupt to get SW-Uart to work. I'm encountering problems, so I stripped down the thing to the essenrtial.
As you can seen, I achive to trigger PCINT on pulsed out ...
  Topic: Watchdog fuse bit
Arera

Replies: 33
Views: 1719

PostForum: BASCOM-AVR   Posted: Fri Sep 09, 2016 12:10 pm   Subject: Watchdog fuse bit
It seems to me, we are running into an dead end here.
Actually it is only about a watchdog, it is not THAT tricky, I think.
I always use the WD, and I never needed to worry about ASM-code and stuff. ...
  Topic: Adding date to EEPROM when programming device
Arera

Replies: 10
Views: 551

PostForum: BASCOM-AVR   Posted: Tue Jan 12, 2016 2:58 pm   Subject: Adding date to EEPROM when programming device
Option 43:

Think of letting the Date/Time thing down. What meaning does it have, in case the item stays in the shelf for 7 month.
Rather use serial numbers. Note whatever information which is usef ...
  Topic: Why does double come out wrong in HEX
Arera

Replies: 14
Views: 531

PostForum: BASCOM-AVR   Posted: Mon Nov 23, 2015 5:22 pm   Subject: Why does double come out wrong in HEX
From the HELP (Fundamentals):

Double: 8 Bytes; 5.0 x 10^324 to 1.7 x 10^308; Doubles are stored as signed 64 bit binary numbers

in short words: assigning FFF... all over a double does not re ...
  Topic: Holding a value in a variable.
Arera

Replies: 25
Views: 758

PostForum: BASCOM-AVR   Posted: Wed Sep 16, 2015 7:17 am   Subject: Holding a value in a variable.
My last attempt: g

show us at least a snippet of code that shows how you measure V11 and V12, and how getting V12 affects the content of V11. Rolling Eyes
  Topic: Holding a value in a variable.
Arera

Replies: 25
Views: 758

PostForum: BASCOM-AVR   Posted: Tue Sep 15, 2015 10:05 pm   Subject: Holding a value in a variable.
Ok, we are shifting from SW to HW.
If V11 equals V12, and that is not what you expect, you need to find out what is going wrong.
HW could have an error.
SW could have errors.
Your expectations ...
  Topic: Holding a value in a variable.
Arera

Replies: 25
Views: 758

PostForum: BASCOM-AVR   Posted: Tue Sep 15, 2015 12:23 pm   Subject: Holding a value in a variable.
yes I agree with MEISTER, extra vars for the Results are needed, and shure even some more.
Be generous with vars, there are a lot of then avaliable in most chips...

I guess the TO cannot see the w ...
  Topic: Holding a value in a variable.
Arera

Replies: 25
Views: 758

PostForum: BASCOM-AVR   Posted: Tue Sep 15, 2015 9:03 am   Subject: Holding a value in a variable.
Hmmmm....
If you need to handle 8 cells having 2 values (load on/off), I'd expect 16 variables!
Vcell1_off
Vcell1_on
Vcell2_off
.
.
.
Vcell8_on

to keep it simple in the first attempt, I'd n ...
 
Page 1 of 26 Goto page 1, 2, 3 ... 24, 25, 26  Next
All times are GMT + 1 Hour
Jump to: