BASCOM-AVR : ATTINY2313, how can i set a regular interrupt, say 250ms : REPLY
Hi, Have a look at the Atmel documentation. Regards Ian Dobson
View ArticleBASCOM-AVR : ATTINY2313, how can i set a regular interrupt, say 250ms : REPLY
When you want to use an interrupt, you have to do 3 steps. 1. Enable particular interrupt. E.g. ENABLE TIMER1 .......... TIMER1 overflow interrupt ENABLE OVF1 .............. the same ENABLE TIMER0...
View ArticleBASCOM-AVR : Virtual USB-port for AVR : REPLY
any news for this: ? " Mr.Ollopa how can I add this strings to library?: Code: Period_number=8 COMPARE1A=Last_period TIMER1=Shift_delay Last_period & Shift_delay are constants. It needs to...
View ArticleBASCOM-AVR : RC5 Not working in version 2.0.7.7???? : REPLY
the alias for timsk was missing in the dat file. it is simple to fix : open the dat file, search for timsk0= somevalue , where somevalue is the address of the register copy the line and alter it to :...
View ArticleBASCOM-AVR : ATTINY2313, how can i set a regular interrupt, say 250ms : REPLY
Guys, thanks so much for the follow up. Visovian, thanks for the step by step info. What i was missing was the ENABLE options and now that you pointed out the ENABLE sections in the help, i am on my...
View ArticleBASCOM-AVR : ATTINY2313, how can i set a regular interrupt, say 250ms : REPLY
Hi, Also have a look at my web site. I have a simple tool to calculate the reload values for timers under software tools. Regards Ian Dobson
View ArticleShare your working BASCOM-AVR code here : Graphic LCD Screen Dump : NEWTOPIC
Hi Guys, Graphic LCD Screen dump The idea of using a modified version of the LCD clear wouldn't work completely, as it only read the left half of the screen on the first line only for some reason....
View ArticleBASCOM-AVR : Virtual USB-port for AVR : REPLY
I did it - see include, strings 340...350. [b:a2c30f9c8b]Period_number [/b:a2c30f9c8b] must be Byte [b:a2c30f9c8b]Last_period[/b:a2c30f9c8b] must be Word [b:a2c30f9c8b]Shift_delay[/b:a2c30f9c8b] must...
View ArticleBASCOM-AVR : I can use 3 sets of Config Sda/Scl one at time ? : REPLY
I'm using Atmega328. But I want make I2C by software, not by hardware. I tried declare two pins as SCL and SDA, and the make I2CInit, make all comunications with one chip, then declare OTHER two pins...
View ArticleBASCOM-AVR : ATTINY2313, how can i set a regular interrupt, say 250ms : REPLY
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=9984&highlight=ctc This Thread has an example of using interrupts. JC
View ArticleShare your working BASCOM-AVR code here : Graphic LCD Screen Dump : REPLY
The Display you define is a graphical one. So i wonder, what you will read out... Your Main loop is from 0 to 7, so i think you want to read Character rows. Your Column counter is 0 up to 63... this...
View ArticleBASCOM-AVR : Brownout reset : REPLY
WELL !!!!! After a huge amount of knashing of teeth and lost sleep, I think i have stumbled on my brownout problem. My new PCB's arrived today - the ones with the ground plane on both sides. I have...
View ArticleShare your working BASCOM-AVR code here : Graphic LCD Screen Dump : REPLY
Hi Six1, Yea, I had to do some learning on this display as well, with help from Mark. From the data sheet, (See the attached Picture) Each one line of 8 bits is called a page. This is a whole line...
View ArticleBASCOM-AVR : I can use 3 sets of Config Sda/Scl one at time ? : REPLY
Hi aphawk, How many bytes do you need to send and is speed critical ? I ask this, because if it is not a lot of bytes and the speed is not required to be ultra fast, you could write your own routines...
View ArticleShare your working BASCOM-AVR code here : Graphic LCD Screen Dump : REPLY
Hi Deanus, ok i understood. Made a little Soft to read your data and can see your Display output :lol: [img:4e1b0b18b3]http://www.six1.net/download/BASCOM/Image3.png[/img:4e1b0b18b3] attached the...
View ArticleShare your working BASCOM-AVR code here : Graphic LCD Screen Dump : REPLY
Six1, You are the man. I was wondering how I was going to do that, but now done, that is brilliant. And Yes Serial would be handy. The only other thing I can think of, is to save as a picture or some...
View ArticleBASCOM-AVR : I can use 3 sets of Config Sda/Scl one at time ? : REPLY
Hi Deanus, Thanks a lot !!!! The speed can be slow, about 20 Khz is fine, I need to send 10 bytes for each chip !!!!! This is the code : [code:1:e4215e011d]I2cstart I2cwbyte Tda8425w I2cwbyte 0...
View ArticleBASCOM-AVR : Sending data to a PS module : NEWTOPIC
Hi all This question is probably a bit off topic to bascom but you people are gurus. I have a Skm53 gps module fromm syklab...
View ArticleBASCOM-AVR : I can use 3 sets of Config Sda/Scl one at time ? : REPLY
Hi Paulo, Sorry I don't have time to do a conversion right now, but attached is my VB6 .Bas Module for the I2C control. Bascom is modeled on VB commands and structure, so converting should be...
View ArticleShare your working BASCOM-AVR code here : Graphic LCD Screen Dump : REPLY
Great work :D I can use it in my power supply I am building if it has the serial output then you would see what was on the screen of the power supply. Michael if you added say 8 or so general purpose...
View Article