Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1942 matches
www.mcselec.com Forum Index
Author Message
  Topic: Timer1 set for 8bit PWM -Pin always +5V
MWS

Replies: 2
Views: 149

PostForum: BASCOM-AVR   Posted: Thu Oct 07, 2021 5:40 pm   Subject: Re: Timer1 set for 8bit PWM -Pin always +5V
As I cannot turn the PWM voltage down I create short circuit.
Mind to explain?
Turning down which voltage gives a short circuit?

There's no such as a PWM-voltage other than the supply voltage for ...
  Topic: Not exiting Powersave reliably
MWS

Replies: 8
Views: 207

PostForum: BASCOM-AVR   Posted: Sat Oct 02, 2021 10:26 am   Subject: Re: Not exiting Powersave reliably
The problem is that it sometimes sticks in the power down state, and of course, the watchdog is never triggered.
If UART is on and power is off this sequence executes:
Stop Adc
Stop Watchdog
Power ...
  Topic: Not exiting Powersave reliably
MWS

Replies: 8
Views: 207

PostForum: BASCOM-AVR   Posted: Sat Oct 02, 2021 8:54 am   Subject: Not exiting Powersave reliably
When you use Nosave argument you should save and restore registers that was handy during ISR yourself because you tell to the Bascom - I care of them myself.
So..
So what?
You was drifting off targ ...
  Topic: overlay - MWS
MWS

Replies: 12
Views: 397

PostForum: BASCOM-AVR   Posted: Sat Sep 25, 2021 8:58 am   Subject: overlay - MWS
While Ischarwaiting(#3) <> 0
rxbyte = waitkey(#3)
Select Case rxbyte
Case 10:
Case 13:
Case 3 ...
  Topic: overlay - MWS
MWS

Replies: 12
Views: 397

PostForum: BASCOM-AVR   Posted: Sat Sep 25, 2021 8:28 am   Subject: Re: overlay - MWS
I am doing what you advised against - is this what you had in mind?
Yes, this is leaner, as it uses a dedicated pointer to the next char, while the concat '+' always needs to seek the end of string f ...
  Topic: LCD Powertip Init?
MWS

Replies: 5
Views: 203

PostForum: BASCOM-AVR   Posted: Fri Sep 03, 2021 10:40 pm   Subject: LCD Powertip Init?
This approach looks uncomfortable.
I would look up the proper lib for this display and adapt the output routines for cmd and data to the given hardware.
It would make the serial converter transparen ...
  Topic: Compilation Problem
MWS

Replies: 3
Views: 178

PostForum: BASCOM-AVR   Posted: Sat Aug 28, 2021 9:00 pm   Subject: Compilation Problem
How anyone without your code should be able to reproduce your problem?
This is a case for support@mcselec.com
  Topic: XTINY Add on
MWS

Replies: 12
Views: 365

PostForum: BASCOM-AVR   Posted: Sat Aug 21, 2021 10:22 am   Subject: XTINY Add on
anyway seems to have RIGHT
Doesn't make him right if you are wrong.
i just tries with ff / opera / IE 11 and i CANNOT enter items in cart, no matter what product i select my "cart" remain empty
Be ...
  Topic: XTINY Add on
MWS

Replies: 12
Views: 365

PostForum: BASCOM-AVR   Posted: Sat Aug 21, 2021 10:19 am   Subject: XTINY Add on
Even with FF 43.0.1, which is rather old and fails to display some sites correctly, it was a smooth run through the complete order process.
I suggest also another browser, or to switch off any Java- ...
  Topic: ATXMega 32 E5 - XCL Event System Counter/Timer Overflow/Unde
MWS

Replies: 2
Views: 141

PostForum: BASCOM-AVR   Posted: Wed Aug 18, 2021 8:05 pm   Subject: Re: ATXMega 32 E5 - XCL Event System Counter/Timer Overflow/
Once the over/underflow happened and the handler is being called it won't stop to interrupt and blocks the main loop.
The XMegas do not clear interrupt flags by executing the interrupt vector, instea ...
  Topic: Version 2084
MWS

Replies: 11
Views: 941

PostForum: BASCOM-AVR   Posted: Mon Jul 12, 2021 7:59 am   Subject: Re: Error whit "Rainbow-LIB"
I think that the new routine probably does not cope with the 128k Flash.
The 128k is no problem, either it's a) different helper code which stretches the 'relative' in RCALL too much, i.e. more than ...
  Topic: time(clock_sys) produces HH:MM:SS in Hex!
MWS

Replies: 4
Views: 227

PostForum: BASCOM-AVR Unsupported versions   Posted: Fri Jul 09, 2021 7:45 am   Subject: Re: time(clock_sys) produces HH:MM:SS in Hex!
time$ = time/clock_sys)
Time$ expects a string and not the result of a division, and as Evert wrote: multiple consecutive assignments to the same variable are nonsense.
Thus it's to assume this ...
  Topic: Request Help, Don't have font files on my system under sampl
MWS

Replies: 4
Views: 138

PostForum: BASCOM-AVR   Posted: Tue Jul 06, 2021 12:21 pm   Subject: Request Help, Don't have font files on my system under sampl
Copy font- and image files in the same directory as your .bas-file.
  Topic: How to alias a variable
MWS

Replies: 5
Views: 194

PostForum: BASCOM-AVR   Posted: Mon Jul 05, 2021 11:57 pm   Subject: Re: How to alias a variable
I didn't ask why the code I made didn't work
That was for free, you're welcome.
  Topic: How to alias a variable
MWS

Replies: 5
Views: 194

PostForum: BASCOM-AVR   Posted: Mon Jul 05, 2021 4:29 pm   Subject: How to alias a variable
Better try like this.
Porta = Porta Or Helpb
Better not.

Given:
Led_Port = &B1000_0100
PortA = &B0100_0010
Exec:
Helpb = Led_port And &B0000_1111
'-> HelpB: &B ...
 
Page 1 of 130 Goto page 1, 2, 3 ... 128, 129, 130  Next
All times are GMT + 1 Hour
Jump to: