Search this forum for LORA.
Working samples there :D
↧
BASCOM-AVR : Bascom and CI SEMTECH sx1276.. sx1278 : REPLY
↧
BASCOM-AVR : Special Characters in the 16x2 lcd display : NEWTOPIC
With the command "Deflcdchar" we can create up to 8 special characters in the 16x2 lcd display. How can I create more than 8 special characters in bascom AVR on this display? I'm using Atemga328P-MU. Thank you for your help.
[b:62af49d688][color=red:62af49d688](BASCOM-AVR version : 2.0.7.8 , Latest : 2.0.7.8 )[/b:62af49d688][/color:62af49d688]
↧
↧
BASCOM-AVR : Special Characters in the 16x2 lcd display : REPLY
Hi Gilson,
You can't .....
This is a limitation of the LCD Ram.
You can use one group of 8 diferent characters, but you can change for other group of 8 characters each time you need. This way you can have many characters, but only 8 at a time.
Paulo
↧
BASCOM-AVR : Special Characters in the 16x2 lcd display : REPLY
Really, I can use 8 different characters as per the need of each writing. Had not remembered this feature, thank you friend.
↧
BASCOM-AVR : Bascom and CI SEMTECH sx1276.. sx1278 : REPLY
thanks for your message.
i find lora forum.. and perhaps i will find a good solution.
the config SPI is in line 278 because i use the new submode.....and all the sub are at the start.
regards
↧
↧
BASCOM-AVR : View Pinout not working : NEWTOPIC
I am using Bascom 2.0.8.0 and I am having a problem. When I click on View, and then Pin Layout, nothing happens. How do I get the Pin Out Viewer to appear?
Thank you,
Robert
[b:25dc986556][color=red:25dc986556](BASCOM-AVR version : 2.0.8.0 , Latest : 2.0.7.8 )[/b:25dc986556][/color:25dc986556]
↧
BASCOM-AVR : View Pinout not working : REPLY
your code need to contain the $regfile directive.
And the value need to be of an existing dat file.
for example : $regfile = "m128def.DAT"
↧
BASCOM-AVR : View Pinout not working : REPLY
rrioja, please fix your email address of your forum account.
↧
BASCOM-AVR : Bascom and CI SEMTECH sx1276.. sx1278 : REPLY
I am not sure if you understood, but AndersL posted a working sample under topic LORA on the mcselec.com forum.
So it is not on a LORA forum.
↧
↧
BASCOM-AVR : View Pinout not working : REPLY
Marc
I am using the sample programs from the Samples folder. All programs have the correct $regfile statement, and the PDF viewer works correctly. I noticed that the dat files have a line like "pdf=atmega128.pdf". Should there be a line that specifies the xml file?
Robert
↧
BASCOM-AVR : View Pinout not working : REPLY
no there is no need for that.
You best give a short example piece of code that does not work.
Then, also check the PINOUT sub folder. It should contain XML files and pin maps.
I assume you have View, Pin Layout activated?
↧
BASCOM-AVR : View Pinout not working : REPLY
Like I said, I am using sample programs from the Samples folder, for example m128.bas which has $regfile = "m128def.dat".
The BASCOM-AVR folder has the m128def.dat file and the PinOut folder has the files ATmega128RFA1-QFN64.xml and ATmega128-TQFP64.xml. It also has tqfp64.map and tqfp64.png.
What do you mean by "I assume you have View, Pin Layout activated?". I don't see anything in the manual about activating it.
Robert
↧
BASCOM-AVR : GETRC with xmega128d4 : REPLY
I did it "by hand":
[code:1:af040577a3]
'Get RC-Pin
Dim RC_value as Word
Config Porta.5 = Output
Set Porta.5
Waitms 10 'charge cap
Config Porta.5 = Input
Config Xpin = Porta.5 , Outpull = Pulldown 'discharge cap
While Pina.5 = 1 And RC_value < 65534
Incr RC_value
Wend
[/code:1:af040577a3]
Tada...RC_value has it
↧
↧
BASCOM-AVR : View Pinout not working : REPLY
Delete after backing it up; [b:eca95b2842]c:UsersYourNameAppDataRoamingMCS Electronicsbascom-avr.xml[/b:eca95b2842] to see if the chip view is back. This restore the ide to default settings.
↧
BASCOM-AVR : View Pinout not working : REPLY
maybe you can post a screen shot of the IDE ?
↧
BASCOM-AVR : View Pinout not working : REPLY
I renamed bascom-avr.xml to something else, and restarted the program. This solved the problem, and I noticed that a new bascom-avr.xml had been created. Now everything is working well.
Thank you all for your help.
Are there any thoughts on the Microchip acquisition of Atmel? I noticed that the Atmel website now has many broken links.
Off and on, I have been using Bascom-AVR for 10 years. It has been one of the best investments ever, and the support and dedication has been exemplary.
Robert
↧
BASCOM-AVR : View Pinout not working : REPLY
good that it worked. maybe you can send the non working xml file to support ? (zipped).
There is no setting that disables the pin out viewer so i am curious to see what the problem was/
microchip/atmel has just launched a new AVR line. I ordered a board to have a look at it. all new hardware.
My guess is that they keep selling AVR, why shouldnt they? Broken links you can report. I guess they are working on integration.
↧
↧
BASCOM-AVR : GETRC with xmega128d4 : REPLY
[quote:b3dbb6a8c5="MSX"]I did it "by hand":
[code:1:b3dbb6a8c5]
'Get RC-Pin
Dim RC_value as Word
Config Porta.5 = Output
Set Porta.5
Waitms 10 'charge cap
Config Porta.5 = Input
Config Xpin = Porta.5 , Outpull = Pulldown 'discharge cap
While Pina.5 = 1 And RC_value < 65534
Incr RC_value
Wend
[/code:1:b3dbb6a8c5]
Tada...RC_value has it[/quote:b3dbb6a8c5]
???Porta.5=output y Porta.5=input????
↧
BASCOM-ARDUINO : arduino mega (2560) + ethernet shield(Wiz5500) @ bascom 2.0. : REPLY
Hello, good morning :-)
@marc - my email is now updated, sorry for leaving it "old"
while i believe, that the communication between the Arduino mega and the Arduino shield may work not properly,
i checked out these interconnection between and i have found this connections between the ATmega2560 and the W5500 chip over all connectors, from Pin to Pin.
what confuses me, the "ss" of Atmega refers not to anything of the ethernet shield.
the /res ends to the reset circuit on the shield.
sck and mosi are provided via 74LVC1G125, ok, these are only buffers, so should not cause problems...
please see table below:
' SIG------2560-----Port---------header #nr-----ISP on----------ISP--------------------------------------------------W5500
' _________________________arduino board_arduino mega_arduino eth shield2
' SS------- Pin 19---PortB.0-----header #53----no
' MISO---- Pin 22---PortB.3-----header #50----Pin 1------------ Pin 1 MISO -------- direct ------------------------- Pin 34
' SCK----- Pin 20---PortB.1-----header #52----Pin 3-------------Pin 3 SCK --------- via 74LVC1G125 ------------- as SCK3 --- Pin 33
' MOSI---- Pin 21---PortB.2-----header #51----Pin 4------------ Pin 4 MOSI ------- via 74LVC1G125 -------------- as MOSI3 -- Pin 35
' Reset---- Pin 30---/res----------reset-----------Pin 5------------ Pin 5 reset ---------to reset circuit on shield.. not to W5500
at the hardware i have no clue how to connect "alternatively" the "ss" to the ethernet shield.
@Paulvk , thank you for the hint, i will check the SPI enumeration of webserver examples
Ingolf
↧
BASCOM-ARDUINO : Arduino Nano with I2c LCD and backlight : REPLY
If someone think that LCD via I2C is lazy look this 30s video :D
https://youtu.be/rKYEyugX9pA
↧