Forum - MCS Electronics


FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 2136 matches Forum Index
Author Message
  Topic: 7 digit LED Calculator, single, and double operation.
Evert :-)

Replies: 2
Views: 150

PostForum: BASCOM-AVR   Posted: Thu Sep 09, 2021 8:24 pm   Subject: 7 digit LED Calculator, single, and double operation.
Show us your complete code that's not working.
Code from EDC is working, so maybe you do something else wrong.
Low stack?
  Topic: Register Descriptions MCU Control
Evert :-)

Replies: 4
Views: 171

PostForum: BASCOM-AVR   Posted: Tue Aug 31, 2021 8:32 pm   Subject: Register Descriptions MCU Control
I'm not sure you can read those bytes this way. what i understand the production signature row is in a separate memory section.

Have a look at the [url= ...
  Topic: Differences where variable dimensioned?
Evert :-)

Replies: 2
Views: 64

PostForum: BASCOM-AVR Unsupported versions   Posted: Sat Aug 07, 2021 7:31 pm   Subject: Differences where variable dimensioned?
Form the help file:

The scope for DIM is global. So no matter where you use the DIM statements, the variable will end up as a global visible variable that is visible in all modules, proced ...
  Topic: Swap with software uart
Evert :-)

Replies: 2
Views: 172

PostForum: BASCOM-AVR   Posted: Mon Jul 26, 2021 6:52 pm   Subject: Swap with software uart
Can you show us your hw and sw stack?
I think the sw stack is set to low.
  Topic: Version 2084
Evert :-)

Replies: 11
Views: 933

PostForum: BASCOM-AVR   Posted: Sat Jul 10, 2021 1:38 pm   Subject: Version 2084
Cool, thanks for the hard work on the update again.
  Topic: time(clock_sys) produces HH:MM:SS in Hex!
Evert :-)

Replies: 4
Views: 221

PostForum: BASCOM-AVR Unsupported versions   Posted: Thu Jul 08, 2021 8:51 pm   Subject: time(clock_sys) produces HH:MM:SS in Hex!
Hard to say what could be going wrong without sharing us the mcu your are using, stack and frame size, declaration of you variable and a compilable example.

This is what I find strange so far: ...
  Topic: LGT8F328
Evert :-)

Replies: 2
Views: 213

PostForum: BASCOM-ARDUINO   Posted: Sun May 16, 2021 10:56 am   Subject: LGT8F328
If I was you, don't wait for them and use a real avr , certainly if you are using them in a commercial product.

Reading this [url= ...
  Topic: GUI-O Speed Controller
Evert :-)

Replies: 2
Views: 452

PostForum: Share your working BASCOM-AVR code here   Posted: Thu Apr 08, 2021 9:16 pm   Subject: GUI-O Speed Controller
Cool, very interesting.
Thanks for sharing.
  Topic: Interrupt overflows being missed?
Evert :-)

Replies: 29
Views: 1271

PostForum: BASCOM-AVR   Posted: Sat Feb 27, 2021 12:04 pm   Subject: Interrupt overflows being missed?
As if I understand now you are measuring the time between the 2 edges of the pulse to determine the rpm, not the easiest way.
In the calculations you are also using multiply time singles. Using Singl ...
  Topic: Is there a way to know which type is a variable?
Evert :-)

Replies: 16
Views: 655

PostForum: BASCOM-AVR   Posted: Wed Jan 27, 2021 5:18 pm   Subject: Is there a way to know which type is a variable?
var = VARPTR( var2 ) 'A variable to retrieve the address from
var = VARPTR( "var3" ) 'A constant

Take a note of the quotes.

Don't know at what moment you want to ...
  Topic: How to convert several variables into an array of bytes?
Evert :-)

Replies: 11
Views: 460

PostForum: BASCOM-AVR   Posted: Mon Jan 25, 2021 10:02 pm   Subject: How to convert several variables into an array of bytes?
You can OVERLAY the bytes (or other types) over the array

Dim MyAr(100) As Byte
Dim Mybyte1 As byte At MyAr() + &H01 Overlay
Dim Mybyte2 As byte At MyAr() + &H02 O ...
  Topic: MPU-6050 Not sending data
Evert :-)

Replies: 3
Views: 316

PostForum: BASCOM-AVR   Posted: Thu Dec 17, 2020 1:57 pm   Subject: MPU-6050 Not sending data
Hi Snow,

My first reply as electronics engineer is what about voltage levels.
The MPU6050 runs at 3.3V and the M328PB needs at 16Mhz >4.5V.
Do you have a good level convertor for the i2c bus?
  Topic: Serialin buffer
Evert :-)

Replies: 13
Views: 560

PostForum: BASCOM-AVR   Posted: Wed Dec 16, 2020 10:41 pm   Subject: Serialin buffer
Hi Andre,

Here the nice guy from Holland. Wink

It's not that easy to increase the receiver buffer. The data and pointers of the receive buffer are now stored in bytes. Bytes can hold up values to ...
  Topic: Timer controlled movement of RC servo strange
Evert :-)

Replies: 15
Views: 911

PostForum: BASCOM-AVR   Posted: Mon Dec 14, 2020 9:12 pm   Subject: Timer controlled movement of RC servo strange
yes, that is right, but Bascom , as good as it is,
can not handle 18 Rc-Servos at a resolution of one microsecond.

TS is talking about 2 servo's, not 18.
Btw The [url=https://avrhelp.mcse ...
  Topic: tools for Nextion display on Arduino M2560
Evert :-)

Replies: 12
Views: 2116

PostForum: Share your working BASCOM-AVR code here   Posted: Thu Dec 10, 2020 10:46 pm   Subject: tools for Nextion display on Arduino M2560
Program compiles fine here.
Maybe you can share the error code because my glass sphere is broken.
Page 1 of 143 Goto page 1, 2, 3 ... 141, 142, 143  Next
All times are GMT + 1 Hour
Jump to: