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

AVR : AVR Dragon question : REPLY

I should have done more research before buying the Dragon and bought a AVRISP MKII in the first place. Oh well, live and learn. Thanks guys, Dave

View Article


Share your working BASCOM-AVR code here : OLED Display using SSD1306 with...

Hi ! I'm a little bit confused :shock: This commands doesn't work : I2cinit #1 I2cstop #1 Invalid parameter .... Why do you not use the standard TWI-function in BASCOM ? [code:1:1bb6a8c301]$regfile =...

View Article


Share your working BASCOM-AVR code here : OLED Display using SSD1306 with...

This initialization for XMega. :wink: MCU 32MHz.

View Article

BASCOM-AVR : KS0108 Display: Trouble with higher clock speed : REPLY

This code works fine with 18MHz and also with 20MHz [code:1:a6df09eb67] 'Test mit Pollin Display LCD-Modul TG12864B-13 $regfile = "m168def.dat" $crystal = 18432000 $hwstack = 64 $swstack = 32...

View Article

BASCOM-AVR : Beware Cheap USBasp clone : NEWTOPIC

Hi All, I've just picked up several AVR programmers from (http://www.ebay.de/itm/180937536014?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649) hardware wise they're actually quite nice....

View Article


Share your working BASCOM-AVR code here : 8 chan ServoController updated for...

Hi Glena! After a long break from programming I built a small servo controller with your code using the tiny2313 and an xbee module. I sending commands from my pc using a delphi program. I...

View Article

BASCOM-AVR : Beware Cheap USBasp clone : REPLY

Hi, Looks as if someone else has had this problem and found a solution:-http://www.sciencetronics.com/greenphotons/?p=938 Maybe I'll try his fix tomorrow. Regards Ian Dobson

View Article

BASCOM-AVR : ATMega8A Clock fusebits reset on programming : REPLY

Problem solved! So how does forgetting to define swstack reset the clock config fusebits? Colin

View Article


BASCOM-AVR : drive device with MCU and visual studio 2012 : REPLY

Read it all: http://www.innovatic.dk/knowledg/SerialCOM/SerialCOM.htm And eventually download terminal application from this site. It may help to isolate problem. But standard windows terminal should...

View Article


BASCOM-AVR : KTM-S1201 serial LCD help needed : REPLY

Hi, My test board is up again. I made a simple C program using Jack Botner's KTM library and sniffed the SI pin with oscilloscope: [code:1:05e7a793cf]"A" = 0x20, 0x14, 0xF6, 0xD7, 0xD7, "B" = 0x20,...

View Article

BASCOM-AVR : ATMega8A Clock fusebits reset on programming : REPLY

Must be something else. AFAIK its impossible to change fusebits from program code, intentionally or otherwise. Even a chip erase does not change the fusebits. Sounds like your programmer is set to...

View Article

BASCOM-AVR : ATMega8A Clock fusebits reset on programming : REPLY

Hi Adrian, As you say, it shouldn't happen. It's not repeatable now, either. All I'd added to the code was $hwstack = 48 $swstack = 16 $framesize = 50 so I commented that out and set swstack=0 in the...

View Article

BASCOM-AVR : pulse length capture : REPLY

[quote:666f54c901="MWS"][quote:666f54c901="philm"]here are some snips of code.[/quote:666f54c901] Not sure about the value of incomplete code missing all its variable definitions. Also one of your...

View Article


BASCOM-AVR : Short configurable delays 1-16uS : NEWTOPIC

Hello All; I need a delay that (in a perfect world) I can configure in software for 1 to 16uS in 1uS steps. During initial setup I read a BCD switch to obtain the needed delay. This is necessary to...

View Article

BASCOM-AVR : Short configurable delays 1-16uS : REPLY

How about select/case read the switch do the NOPs as per case Regards Paul

View Article


Share your working BASCOM-AVR code here : Morse code transmit : NEWTOPIC

A code that I did some time ago, maybe of use to some. 'MORSE CODE TRANSMITION FROM ASCII 'LDELAY AND WDELAY ARE SHORTENED BECAUSE OF EXTRA CDELAY 'CDELAY=DELAY BETWEEN DOTS AND DASHES 'LDELAY=DELAY...

View Article

BASCOM-AVR : drive device with MCU and visual studio 2012 : REPLY

now I don“t use Visual Basic, but I use different terminal and when I send number how in bascom terminal I see always different number

View Article


BASCOM-AVR : Short configurable delays 1-16uS : REPLY

Hi Paul; Wow! I'm shocked! Select Case is faster than Do-Loop . . . I might be able to make it work, I'll try more tomorrow after a good night's sleep - I start to fade after midnight at my age . . ....

View Article

BASCOM-AVR : pulse length capture : REPLY

[quote:241657e6d3="philm"]The value of the code can be decided by the OP.[/quote:241657e6d3] Not really, my code for example wouldn't work with a counter-variable other than a word....

View Article

BASCOM-AVR : Short configurable delays 1-16uS : REPLY

why not using waitus someVar ?

View Article
Browsing all 20563 articles
Browse latest View live


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