Quantcast
Channel: MCS Electronics Forum
Viewing all 20687 articles
Browse latest View live

BASCOM-AVR : an idea for the next version f Bascom AVR : REPLY


BASCOM-ARDUINO : TFT 5inches, ssd1963 and Mega 2560 : REPLY

$
0
0
If you check the wiki you will find the 7 inch display with a working touchscreen. We can help you, what is the type of touch controller? Ben Zijlstra

BASCOM-AVR : Print lower case bug !!! : REPLY

$
0
0
My program header is this now: $regfile = "m1284pdef.dat" $crystal = 18432100 $hwstack = 130 $swstack = 50 $framesize = 80 Enable Interrupts Config Clockdiv = 1 $baud = 9600 Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Config Serialin = Buffered , Size = 250 Config Serialout = Buffered , Size = 250 Print with Uppercase characters works always but Lowercase character is still not reliable. Try : [b:b2f4ace361]Print "mworld.be[/b:b2f4ace361]" give random result !!!! Thanks for your help, Best regards Geoges

BASCOM-ARDUINO : TFT 5inches, ssd1963 and Mega 2560 : REPLY

$
0
0
This is exactly what I want, but by Bascom avr https://youtu.be/146ue-w1w24

BASCOM-AVR : Print lower case bug !!! : REPLY

$
0
0
i would try with the simplest possible code, thus without the buffered output. It appears to be a hardware problem.

BASCOM Project Blog : Weatherstation : REPLY

$
0
0
great work. A project deserves a good case. It looks just great now.

BASCOM-AVR : Print lower case bug !!! : REPLY

$
0
0
I would say 100% hardware problem. I'm using m1284p's in several projects that are serial "heavy" and haven't had any problems. The only change I had to make was change the fuse bit for "full swing". Regards Ian Dobson

BASCOM-8051 : Board for 8051 : REPLY

$
0
0
Hello There is this board using Atmel AT89C51AC3 https://www.elcosys.co.uk/it/elcosys-elc8951---at89c51ac3.html regards, Robert.

BASCOM-AVR : Print lower case bug !!! : REPLY

$
0
0
First I would suggest to stay with a simple sample and not blow things up randomly. Second I suggest to learn and starting with that by using code-tags, which would make code easier readable and looking less messy. Just a small flaw: [code:1:42782c4c3a]$crystal = 18432100 [/code:1:42782c4c3a] I was not able to google a 18432[b:42782c4c3a]1[/b:42782c4c3a]00 value, instead lots of 18432[b:42782c4c3a]0[/b:42782c4c3a]00. Well, it won't make a difference in regards of created code or baud error, it's just for the records. I've used the following code to simulate in AVR Studio 4.19, memory breakpoint on UDR0, which shows that the code works without flaws. So I'd suggest to check your hardware and PC-connection. [code:1:42782c4c3a]$Regfile = "m1284pdef.dat" $hwstack = 40 $swstack = 32 $framesize = 32 $crystal = 18432000 $baud = 9600 Do Print "mworld.be" Waitms 100 Loop End[/code:1:42782c4c3a]

BASCOM-AVR : an idea for the next version f Bascom AVR : REPLY

$
0
0
ooops I just discover the project file! :oops: Bascom is too rich ! many thanks Mark :wink:

BASCOM-AVR : Print lower case bug !!! : REPLY

$
0
0
Did you disconnect the ISP programmer. ?? It use com1 also.

Share your working BASCOM-AVR code here : Controller SSD1305, SSD1306 or SSD1309 : NEWTOPIC

$
0
0
Hi, Someone have a Library for OLed Display 128X64 with controller SSD1305, SSD1306 or SSD1309? Thanks a lot for any help. :) I will use this display with Atmega 2560.

BASCOM-AVR : Code explorer : NEWTOPIC

$
0
0
Hello, In Code explorer with right click - [b:02dd2b3f59]Find References[/b:02dd2b3f59] for Aliases not working. Or I can't see, how to turn on this options ? Best regards Z.D [b:02dd2b3f59][color=red:02dd2b3f59](BASCOM-AVR version : 2.0.7.9 , Latest : 2.0.7.8 )[/b:02dd2b3f59][/color:02dd2b3f59]

Share your working BASCOM-AVR code here : Controller SSD1305, SSD1306 or SSD1309 : REPLY

$
0
0
Do a search on ssd1306. The button is at the top. Have fun Ben Zijlstra

BASCOM-AVR : USB shutdown PRGEN XMEGA : NEWTOPIC

$
0
0
Is there a method to shutdown the USB module in a XMEGA A4 ? CONFIG POWER_REDUCTION in BASCOM does not seem to address that module, the 40 options in the DAT file don't appear to set USB, and PRGEN isn't in the xm32A4Udef.dat file so I can't set the bit in the PRGEN resister directly. [b:f83e0b7000][color=red:f83e0b7000](BASCOM-AVR version : 2.0.7.8 )[/b:f83e0b7000][/color:f83e0b7000]

BASCOM-AVR : USB shutdown PRGEN XMEGA : REPLY

$
0
0
[quote:2ee2a9e7e0="sstewart"]Is there a method to shutdown the USB module in a XMEGA A4 ?[/quote:2ee2a9e7e0] The ATXMEGA32A4 contains no USB module, what are you talking about?

Share your working BASCOM-AVR code here : Controller SSD1305, SSD1306 or SSD1309 : REPLY

$
0
0
If anyone wondered where logo in my programs came from . Watch video as XMEGA displays animations on SSD1306 through I2C :D Caged image is caused by poor camera. The display looks and displays perfectly. https://youtu.be/KqpURxYaMzs Regards :D

Share your working BASCOM-AVR code here : Controller SSD1305, SSD1306 or SSD1309 : REPLY

$
0
0
Thanks for the video. amazing that you can do animation with i2c. These are nice small displays. crystal clear even with a small font.

BASCOM-ARDUINO : SSD1306 Oled I2c 0.96 inch : REPLY

$
0
0
you found out correct. the twi in xmega uses Z. so Z must be saved. I sent you a driver in support.

BASCOM-AVR : USB shutdown PRGEN XMEGA : REPLY

$
0
0
Thought of that, and went though the data sheets. The PR reg is 0x0070, or 112 decimal. This is in the BASCOM DAT file "PR_PR = 112 ; General Power Reduction" Comparing the DAT file to Atmel's XML, bits 5 and 7 aren't used, bit 6 is the USB. I would suppose that There could / should be a line here, OPTION7=USB OPTION7VALUE=[ON,OFF] Although following Atmel's convention USB would be option 2 and all others would push down numerically. What I can't see is where "Option2" or "Option7" equate to a Hex address or bit location to set a pin, is this in the compiler itself and not a line that can be added to the DAT file ? It appears a work-around is to set the PRGEN register by it's BASCOM name of PR_PR, and set the bits manually. By adding PR_PR = 255 I get a current reduction of 0.5mA so I assume it is turning off those modules. [CONFIG-POWERREDUCTION] SECTION=POWER_REDUCTION OPTIONCOUNT=40 OPTION1=POWER_REDUCTION OPTION1VALUE=[DUMMY] OPTION2=AES OPTION2VALUE=[ON,OFF] OPTION3=EBI OPTION3VALUE=[ON,OFF] OPTION4=RTC OPTION4VALUE=[ON,OFF] OPTION5=EVSYS OPTION5VALUE=[ON,OFF] OPTION6=DMA OPTION6VALUE=[ON,OFF] OPTION7=DACA OPTION7VALUE=[ON,OFF] This is from the Atmel ATxmega32A4U.xml file. <register-group caption="Power Reduction" name="PR" size="7"> <register caption="General Power Reduction" name="PRGEN" offset="0x00" size="1"> <bitfield caption="USB" mask="0x40" name="USB"/> <bitfield caption="AES" mask="0x10" name="AES"/> <bitfield caption="External Bus Interface" mask="0x08" name="EBI"/> <bitfield caption="Real-time Counter" mask="0x04" name="RTC"/> <bitfield caption="Event System" mask="0x02" name="EVSYS"/> <bitfield caption="DMA-Controller" mask="0x01" name="DMA"/> </register>
Viewing all 20687 articles
Browse latest View live