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

BASCOM-AVR : Serial input is corrupting serial out buffer. : REPLY

Check, check... It's a code issue ... mine I wasn't waiting long enough for the incoming data to process before transmitting (half duplex RS-485). Have to wait much longer than I had thought.

View Article


BASCOM-AVR : Attiny841 strange behaviour in Bascom : REPLY

The Baudrate is 19540 instead of 19200. Hterm reads 20 UU..Us without error. Setting Hterm and LA to 19540 does not make a difference. Reading is the same. How far it counts up the B (prints it)...

View Article


Various : MEGAMOS / RES datasheet : NEWTOPIC

Hello. If anyone have som info about Megamos / RES chip please share. I have a lot of Immobox`es from cars and want use that chip like EM9540 (seems to be similar). Thanks for any reply

View Article

BASCOM-AVR : 2077 official release : REPLY

I will do that Mark. cheers

View Article

BASCOM-AVR : Gosub vs. Call a procedure : REPLY

Mark: Good point about ending a string with a closing " I note that now this compiles without error[code:1:aea4a85b81] dim strK as string * 50 strK = "The quick brown fox [/code:1:aea4a85b81] Maybe...

View Article


BASCOM-AVR : Gosub vs. Call a procedure : REPLY

Adrian if I type Fred = "jhg I automatically get a " added to the end so it becomes Fred = "jhg" is this bascom or my PCs , also the keyboard settings for windows can affect if the " shows or not so...

View Article

BASCOM-AVR : Gosub vs. Call a procedure : REPLY

The adding of a closing " is probably Bascom, with auto-complete turned on. Mark would know. Did not know that the language settings in Windoze affected display of the " " marks. What a crazy idea....

View Article

BASCOM-AVR : wait vs timer : REPLY

Can somebody help me to solve the problem with this code: [code:1:ab03609d04] $regfile = "2313def.dat" $crystal = 8000000 $hwstack=40 $swstack=16 $framesize = 32 const Timer1Reload = 7812 Config...

View Article


Various : Erlang an interesting read : NEWTOPIC

Hello All This I think many will find interesting I worked with this for a long time putting together the design paperwork for AXE builds allways thought it would be good for things like Auto teller...

View Article


BASCOM-AVR : wait vs timer : REPLY

In interrupts routines we try to not using [b:3a77a96652]ANY[/b:3a77a96652] delay. For this "job" a Time to interrupt should be delay. In your code Return instruction dont have place to return :D Try...

View Article

BASCOM-AVR : Warning: accessing bit variables are not atomic : NEWTOPIC

If you use bit variables in your program, the code generated by bascom compiler could cause strange problems. the compiler reserves the space for bit variables at the same sram-byte. This could cause...

View Article

BASCOM-AVR : Warning: accessing bit variables are not atomic : REPLY

[quote:a4572ef48c="Sarek"]imho this could be a compiler bug[/quote:a4572ef48c] Surprise, surprise - the bug is behind the screen :D It's a moot issue and well known. [quote:a4572ef48c]So bit variables...

View Article

BASCOM-AVR : wait vs timer : REPLY

Thank's for the advice. I put the wait function into the isr routine because I was very frustrated :-) and I put it just in... The main problem is the do - loop. I didn't give the program to do...

View Article


BASCOM-AVR : XMega Port D? : REPLY

Evert, my code comes from Hipnik on the De forum, who got portions from you, so thankyou twice! As it happens, the xmega 32 was a bit small, so when a xmega 128 board from Batsocks arrived, my own...

View Article

BASCOM-AVR : XMega Port D? : REPLY

Hi Dave. Where in Gippsland? We just spent 3 nights at Rawson and visited Walhalla. Nice area. Cheers, Ross (Blackburn, Melbourne)

View Article


BASCOM-AVR : Warning: accessing bit variables are not atomic : REPLY

I like to use bits, they can be very useful. What I do is ensure that each bit has it's own RAM location like this: DIM tick as bit DIM dummy_tick_1 as bit DIM dummy_tick_2 as bit DIM dummy_tick_3 as...

View Article

BASCOM-AVR : Warning: accessing bit variables are not atomic : REPLY

Then you also could use Byte-Variables. [code:1:8e1aad8932]DIM tick as Byte[/code:1:8e1aad8932] But this is a matter of storage while the threadowners concern was related to timing and writing to...

View Article


Share your working BASCOM-AVR code here : ISD1700 in SPI Mode with ATMega8 :...

Hi i put 2 code for driving ISD1700 Voice Recorder ICs. one for REC, STOP, PLAY and ERASE commands and another for SET_REC, STOP,SET_ PLAY and SET_ERASE commands. the SPI mode is hard to run for many...

View Article

BASCOM-AVR : Problem with SPI and ISD1730 : REPLY

thanks albert i share my work in the below topic : [url]http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&p=64384#64384[/url]

View Article

Share your working BASCOM-AVR code here : Fast library for SSD1963 LCD : REPLY

Hi i have a 4.3" TFT LCD. it work with Hipnik, Six1 code very Good. but i can't drive my LCD in Vertical mode. can any one help me?

View Article
Browsing all 20696 articles
Browse latest View live


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