BASCOM-AVR : How use Sine Save 50Hz signals for driving Full H-bridge IR2 :...
I'm write Sine Wave 50Hz code and need help how use OCR1A positive, and OCR1B negative half period sine wave for driving Full H-Bridge IR2110. Bascom Code:[code]...
View ArticleBASCOM-AVR : Bug Report: Xmega384C3: hardware TWI not working : REPLY
YES! it works! Btw: I was going through the dat file by byself today to see if I can find something suspicios (without success). There are two or three sections which are looking like something is not...
View ArticleBASCOM-AVR : Demo version and Xmegas : REPLY
[quote:3d1eab0d95] ttc4 is not something i recognize.[/quote:3d1eab0d95]You can now read all about it in the newly released XmegaE5 datasheets. :wink:...
View ArticleBASCOM-AVR : new problem with I2C : REPLY
Hi everybody, Thanks for all reply, I know that Atmel has a qtouch librairie and system, but it take a lot of pins, and is little harder as a "simple" touch ship with I2C (if the I2C work......
View ArticleBASCOM-AVR : new problem with I2C : REPLY
Hi, Maybe you need to READ the setup of the 156 registers to check if settings is ok Channel Enable for CH0 – CH6 (CHAN_ACTIVE) to check if Channel is Enable
View ArticleBASCOM-AVR : new problem with I2C : REPLY
Hi kimmi, It seems that the result is 127 (dec) then seems that the iqs is replying everythink....; Then I don't understand why I can read if the antenna are touch or not !!! If I send this:...
View ArticleBASCOM-AVR : I2CRECEIVE two bytes : REPLY
sure you can use a word to store the 2 bytes, but the data is stored LSB first, then MSB.
View ArticleBASCOM-AVR : Bug Report: Xmega384C3: hardware TWI not working : REPLY
the config info you can ignore. it is not used yet. the timer is either timer 0 or timer 2. both have different modes and different usage of registers depending on the mode. but they share the same...
View ArticleBASCOM-AVR : Gosub vs. Call a procedure : NEWTOPIC
Hi, What is difference between Gosub and Call a procedure ? I have on my mind a procedure without variables. [b:a0ededb1ed][color=red:a0ededb1ed](BASCOM-AVR version : 2.0.7.6...
View ArticleBASCOM-AVR : I2CRECEIVE two bytes : REPLY
Maybe nice function for on the wishlist; Big-endian to little-endian and vice versa. Is not to difficult to do in basic, but assembler will be faster.
View ArticleBASCOM-AVR : Which programmer to choose? : REPLY
Perfect, "olhexy." AVRDUDE is the solution I was looking for. you can pre-configure AVRDUDE, so specify only the Hex file to be programmed?
View ArticleBASCOM-AVR : Which programmer to choose? : REPLY
[quote:3dbe217d14="atmega64"]Perfect, "olhexy." AVRDUDE is the solution I was looking for. you can pre-configure AVRDUDE, so specify only the Hex file to be programmed?[/quote:3dbe217d14] I cannot...
View ArticleBASCOM Project Blog : Working With MAX1238/9 12BIT 12 Channel ADC : NEWTOPIC
Finding that the 10 bit ADCs in the AVRs are just not enough for most of my projects I have been looking for a while for an ADC that is similar to the AVRs but more bits (12 or better) I have tried...
View ArticleBASCOM-AVR : Can't add chr(0) from Deflcdchar to a string : REPLY
Now, where i have my programmer .. :-) I can confirm that it works :D I also wrote my first function for a "Right/Left" Bargraph with positive and negative values. You can find it here, its only in...
View ArticleBASCOM-AVR : Gosub vs. Call a procedure : REPLY
Hi Bobi. When you use the "Call", it will return back after the place your call it, "Gosub" it will jump to your Sub or Label and it will return back if you put the command "Return" in the end of Sub...
View ArticleBASCOM-AVR : Input -> parsing string : REPLY
Shame on my ... I always look only for "Input" and not for "Config Input". Now where i set that config to "Config Input1 = CRLF, Echo = CRLF" i have compare all that serial inputs. @Visovian: That was...
View ArticleBASCOM-AVR : Gosub vs. Call a procedure : REPLY
Hi I have some question concerned with Sub in this example below: I have a local variable in Sub1, and after I call Sub2, A value reset to zero, so how to keep value of A in this case? Regards. Hoang....
View ArticleBASCOM-AVR : serial communication : NEWTOPIC
dear friends, i am new to serial communication in bascom avr i have used the below code & chip atmega 32 $regfile = "m32def.dat" $crystal = 4000000 $baud = 9600 $hwstack = 32 $swstack = 16...
View ArticleBASCOM-AVR : serial communication : REPLY
Hi, Is the atmel really running at 4MHz? Maybe try a simple blinking led with a blink rate of 1sec. Something like:- [code:1:4849d85bb9]do toggle LED wait 1 loop[/code:1:4849d85bb9] And try using...
View ArticleBASCOM-AVR : new problem with I2C : REPLY
Hi, I don't think this is ok : [i:fb45b32810]do i2cstart i2cwbyte &H80 Loop Until Err = 0 'Print "erreur = " ; Err I2cstart I2cwbyte &H80 I2cwbyte &H35 '--> new stop byte I2cstart...
View Article