BASCOM-AVR : Adc and pwm : REPLY
Sorry it is like this Config Timer1 = Pwm , Pwm = 10 , Compare A Pwm = Clear Down , Compare B Pwm = Clear Down , Prescale = 1 but still the same result
View ArticleBASCOM-AVR : Adc and pwm : REPLY
this is how to calculate freq 8 or 10 bit 8Bit : (PWM = 8) (Xtal_in_Hz / Prescaler) / (256*2) = freq_in_hz 10Bit : (PWM = 10) (Xtal_in_Hz / Prescaler) / (1024*2) = freq_in_hz
View ArticleBASCOM-AVR : USB ADDON : NEWTOPIC
[b:5f505ec6d8]Hi there, I use USB addon in cdc class. well actually, I do modify the virtcom162 lik this:[/b:5f505ec6d8]...
View ArticleBASCOM-AVR : USB ADDON : REPLY
I tried Print code it works but you have written in manual we need to use Uart_usb_putchar to write in cdc mode :?: :idea:
View ArticleBASCOM-AVR : Adc and pwm : REPLY
Try this [code:1:f08c4941c5]$regfile = "m8def.dat" $crystal = 8000000 $hwstack = 128 $swstack = 64 $framesize = 64 ' fast pwm, mode 14, noninverted output, prescaler 1 ' set frequency with register...
View ArticleBASCOM-AVR : USB ADDON : REPLY
print sends data to the UART while the sub will send data to the virtual COM port via USB. You can best contact support and do not forget to specify the serial number.
View ArticleBASCOM-AVR : Get this QVGA color LCD running in BASCOM? : REPLY
Hello! Another update. I recently made a tqfp100 - dip100 adapter so i can finally use my xmega128a1. I tired the code from...
View ArticleBASCOM-AVR : Adc and pwm : REPLY
Hi This is why I call it this forum a great place with every member willing to help. Thanks particularly to Visovian and Kimmi. Cheers naseerAk
View ArticleBASCOM-AVR : Adc and pwm : REPLY
And it means I have to work with 8 bit pwm If I wish the frequency to be this much high?
View ArticleBASCOM-AVR : pushbuttons connected on ADC port : NEWTOPIC
Hello World. I have an question about 7 pushbuttons on one ADC port the buttons have it's one resistor as a pull-up. the button connect the resister to the ground, that gifs an value on the ADC port...
View ArticleBASCOM-AVR : pushbuttons connected on ADC port : REPLY
Hi Try this approach Then you have some rom for offset If Vin < 450 Then If Vin < 400 Then If Vin < 350 Then If Vin < 300 Then If Vin < 250 Then and so on... Fixmann
View ArticleBASCOM-AVR : pushbuttons connected on ADC port : REPLY
Hi, Have a look at the select case command [code:1:66fec5150b] select Vase ADCValue case 0 to 99 print "Button1" case 100 to 199 print "Button2" case 200 to 299 print "Button3" case 300 to 399 print...
View ArticleBASCOM-AVR : Adc and pwm : REPLY
Yes. 8-bit pwm means 256 duty cycle values. It is surely enough for most cases.
View ArticleBASCOM-AVR : pushbuttons connected on ADC port : REPLY
i.dobson it works great thanx Sub _buttons Select Case Vin Case 449 To 452 : Volt = Volt + 1 Case 129 To 131 : Volt = Volt - 1 Case 2 To 3 : Volt = 0 Case 840 To 842 : Amp = Amp + 1 Case 608 To 710 :...
View ArticleShare your working BASCOM-AVR code here : GPS processing and status display :...
Hello! I want to share my little program. This is not a final project but the core functions are complete. I'm using a GPS module from adafruit [url]http://www.adafruit.com/products/746[/url] and its...
View ArticleBASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...
Hi folks! I have connected two processors with serial cable. First processor sending simple string "1234567890#" every second: [code:1:4d76f0b6a2] do waitms 1000 ADCHEX = "1234567890#" print ADCHEX...
View ArticleBASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...
check out config input the input should match the data sent by PRINT
View ArticleShare your working BASCOM-AVR code here : GPS processing and status display :...
thank you for sharing. It is a good framework to get started quickly. One question : can you include the source in the ZIP file? And maybe you can upload a screen shot of the LCD. :D
View ArticleShare your working BASCOM-AVR code here : GPS processing and status display :...
Sure! I will take some pictures this afternoon and add them to the end of the post. And i re-upload the zip with the source code.
View ArticleBASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...
No.... Nothing changed. Added this: [code:1:65a675e8d2]echo off Config input1 = CRLF , Echo = CRLF[/code:1:65a675e8d2] EXCEPT for first line, Still getting this string 1234567890 all the time:...
View Article