Quantcast
Channel: MCS Electronics Forum
Browsing all 20577 articles
Browse latest View live
↧

AVR-DOS : AVR-DOS User License ,Company License,free on lib : REPLY

the files supplied with bascom are just the lbx (compiled lib). So it will work with the demo and full version. In order to work with AVR-DOS you do not need the license. But if you want to...

View Article


BASCOM-AVR : A Weird One, RTC : REPLY

[quote:9869c04403="albertsm"]got the pcb's right before Xmas, but we in Holland have 2 official Christmas days, so today i had a look. The pcb's were sent directly to me. They were in anti static bags...

View Article


BASCOM-AVR : A Weird One, RTC : REPLY

hi Nard you are right ! I did not read it too well. It had a stamp with LIR2032 and not CR2032. I had no idea these Li-on existed in this form. I thought that lion required special precautions and...

View Article

BASCOM-AVR : makemodbus given the right instruction : REPLY

I thank everyone who helped especially people from MCS to support any kind of support. After a lot of experimentation I succeeded to Registrar I read my transmitter and to write the adjustment to it...

View Article

BASCOM-AVR : How to create an 8 byte integer? : NEWTOPIC

Hello all, I am currently using a 4 byte integer as a PIN. [code:1:474688a938] Dim Gatecode As Long '4 byte gate code... Dim Sndpin1 As Byte At Gatecode Overlay 'LSB Dim Sndpin2 As Byte At Gatecode +...

View Article


BASCOM-AVR : LCD simple test : NEWTOPIC

Hi and Happy new year to all. I have writen this simple code to test a 4x20 lcd in proteus but not able to run the display, remember this is a simple test which will be expended later on. Thanks and...

View Article

BASCOM-AVR : LCD simple test : REPLY

This is the proteus fie

View Article

BASCOM-AVR : How to create an 8 byte integer? : REPLY

Hi Paulvk! Thank you for your reply! That is a really really wonderful solution!. I had not seen that the in help - buy maybe just blind. Thank you again for sharing this. Tim

View Article


BASCOM-AVR : LCD simple test : REPLY

Hi, You must do Config Lcdpin = Pin , Db4 = Portd.5 , Db5 = Portd.4 , Db6 = Portd.3 , Db7 = Portd.2 , E = Portd.6 , Rs = Portd.7 Or Modify your schematic... Best regard...

View Article


BASCOM-AVR : How to create an 8 byte integer? : REPLY

Is it not easier to save the pin in a string? [code:1:e5b726ddf0]Dim B As Byte Dim I As Byte Dim Number As String * 8 Dim Pin As String * 8 Pin = "12345678"...

View Article

BASCOM-AVR : How to create an 8 byte integer? : REPLY

Hello Visovian, I have to transmit (rs485) the data and meet a pre-specified protocol. It *is* also displayed on an LCD, so I do have it as a string a well. But the harder part was this. Which, as it...

View Article

BASCOM-AVR : How to create an 8 byte integer? : REPLY

You might like it that way, but using a defined type for a variable which has nothing to do with its pre-defined meaning could lead to all sorts of weird errors. Consider what happens to the sign bits...

View Article

BASCOM-AVR : How to create an 8 byte integer? : REPLY

Hello Adrian, Thank you for your input. Your argument makes a lot of sense. And, since the data is actually being transmitted using the array anyway, it does make sense. I will have another look at...

View Article


BASCOM-AVR : LCD simple test : REPLY

Thanks to all some time simple things become PITA.

View Article

BASCOM-AVR : berekenen maanfase : NEWTOPIC

Hallo forumlezers, Wie kan mij helpen met een formule in BASCOM die de zichtbaarheid van de maan kan berekenen. Ik heb diverse bestaande formules omgezet in BASCOM, maar uiteindelijk komen de...

View Article


BASCOM-AVR : Splitting a variable value? : NEWTOPIC

Not sure how to explain this, but here goes: I need to figure out how to split a value in a byte variable, into 2 bytes. Exactly like this: Say a byte variable A as a decimal value of 34. I want to...

View Article

BASCOM-AVR : Splitting a variable value? : REPLY

[code:1:ac8bee3c58]B = A / 10 C = A MOD 10[/code:1:ac8bee3c58]

View Article


BASCOM-AVR : Splitting a variable value? : REPLY

Doh! I forgot about that. Just gotta test for 0 so i dont break it.

View Article

BASCOM-AVR : Splitting a variable value? : REPLY

[quote:476d8a207f="techknight"]Just gotta test for 0 so i dont break it.[/quote:476d8a207f] Nothing will break, zero would be bad in place of the divisor, and that won't happen here.

View Article

BASCOM-AVR : Splitting a variable value? : REPLY

Ah, ok.

View Article
Browsing all 20577 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>