Author |
Message |
Topic: How to have > 1 instance of MCS Bascom running at once? |
EDC
Replies: 4
Views: 305
|
Forum: BASCOM-AVR Posted: Mon Nov 28, 2016 10:11 am Subject: How to have > 1 instance of MCS Bascom running at once? |
In Bascom folder you can find PDF file BASCAVR.pdf.
This is very useful knowledge vault about Bascom.
After read I can`t imagine how, without CTRL+M or CTRL+SHIFT+I, CTRL+SHIFT+U programming was po ... |
Topic: ILI9341 with SW/HW SPI, 8/16 Bit parallel mode |
EDC
Replies: 80
Views: 29178
|
Forum: Share your working BASCOM-AVR code here Posted: Sun Nov 27, 2016 8:25 pm Subject: ILI9341 with SW/HW SPI, 8/16 Bit parallel mode |
Brackets was the obvious thing but now I think nobody have crystal magic ball, and only one thing I know You should pass a Byte variable.
"Sub Lcd_set_rotation(byval Rotation As Byte) " so hit and ... |
Topic: ILI9341 with SW/HW SPI, 8/16 Bit parallel mode |
EDC
Replies: 80
Views: 29178
|
Forum: Share your working BASCOM-AVR code here Posted: Sun Nov 27, 2016 7:51 pm Subject: ILI9341 with SW/HW SPI, 8/16 Bit parallel mode |
Lcd_set_rotation Pixels <<<<<<<<---------------------------------HERE IS ERROR
I think.."Lcd_set_rotation(Pixels) <<<<<<<<---------------------------- ... |
Topic: Port Status random in Simulator |
EDC
Replies: 4
Views: 207
|
Forum: BASCOM-AVR Posted: Sun Nov 20, 2016 4:18 pm Subject: Port Status random in Simulator |
Click/enable "Refresh variables" near "Terminal checkbox" on the main bar |
Topic: Some tip about Uno serial |
EDC
Replies: 3
Views: 4046
|
Forum: BASCOM-ARDUINO Posted: Mon Nov 14, 2016 10:26 am Subject: Some tip about Uno serial |
I think that in my case, where my desired baud is comparatively low and compiler don`t use U2X then it stay untouched after bootloader.
I don`t have any problems with Bascom and only want inform that ... |
Topic: Some tip about Uno serial |
EDC
Replies: 3
Views: 4046
|
Forum: BASCOM-ARDUINO Posted: Sun Nov 13, 2016 7:02 pm Subject: Some tip about Uno serial |
Hello.
For my colegue I wrote some code for ethernet nodes (Arduino Uno + shield W5100)
Program is universal because you can set each node IP, mask, gate, port for UDP, target IP, even MAC and much ... |
Topic: The way to set a timer |
EDC
Replies: 3
Views: 582
|
Forum: BASCOM-AVR Posted: Thu Nov 10, 2016 12:45 am Subject: The way to set a timer |
If Timer have, for example, value of 2500 because Compare is set into 3000 and you change Compare value into 2400 (lower than actual timer value) then Compare match not happen till timer roll up to 65 ... |
Topic: DMX sender and soft UART in the same code. |
EDC
Replies: 2
Views: 740
|
Forum: BASCOM-AVR Unsupported versions Posted: Tue Nov 08, 2016 6:56 pm Subject: DMX sender and soft UART in the same code. |
Please read topic "BAUD" in help.
Syntax for change baudrate on software uart is different
http://wiki.mcselec.com/bavr/BAUD |
Topic: Combing 2 strings |
EDC
Replies: 24
Views: 857
|
Forum: BASCOM-AVR Posted: Fri Oct 14, 2016 1:15 am Subject: Combing 2 strings |
I dont know why this takes so long
So maybe some leaks of realy basic things is important.
After flashing new programm (if EESAVE FuseBit is not cleared) then whole EEPROM memory is flashed/bulk ... |
Topic: Combing 2 strings |
EDC
Replies: 24
Views: 857
|
Forum: BASCOM-AVR Posted: Wed Oct 12, 2016 3:01 am Subject: Combing 2 strings |
I`m steel not get it
Each letter/char needs one byte to code it in ASCII
Where You can store four bytes variable in Eram, read it and store into some four bytes variable.
Then You can easy test ... |
Topic: Reverse order a string? |
EDC
Replies: 14
Views: 587
|
Forum: BASCOM-AVR Posted: Mon Oct 10, 2016 10:11 pm Subject: Reverse order a string? |
Sorry guys but I must show You this
In maybe in couple of days remove this video because Im listening radio with this and adversites maybe incomming.
This means "tad".. no comment
https://y ... |
Topic: Reverse order a string? |
EDC
Replies: 14
Views: 587
|
Forum: BASCOM-AVR Posted: Mon Oct 10, 2016 2:27 pm Subject: Reverse order a string? |
I`ve made my "demo-compare_code" very quick and, in summary, i think is very quick too but one thing get my attention.
I was unable to create Local Array
Please tell me what I`m doing wrong
I wa ... |
Topic: Reverse order a string? |
EDC
Replies: 14
Views: 587
|
Forum: BASCOM-AVR Posted: Sun Oct 09, 2016 11:51 pm Subject: Reverse order a string? |
Since I learn about Overlay I use them very often
$regfile = "m32def.dat"
$crystal = 8000000
$hwstack = 64
$swstack = 64
$framesize = 64
$sim
Config Lcd = 20x4
Config Submod ... |
Topic: Adding to a value of a String |
EDC
Replies: 3
Views: 279
|
Forum: BASCOM-AVR Posted: Sat Sep 24, 2016 12:57 am Subject: Adding to a value of a String |
Result is guaranted when variables are of the same type. You can read about this in help.
After mathematical operation result can be changed to another type...
So "Check_sum = Val(cl_number_s)" is c ... |
Topic: Adding to a value of a String |
EDC
Replies: 3
Views: 279
|
Forum: BASCOM-AVR Posted: Fri Sep 23, 2016 8:58 am Subject: Adding to a value of a String |
Try this
$regfile = "attiny167.dat"
$crystal = 8000000
$hwstack = 40
$swstack = 40
$framesize = 40
Open "coma.5:9600,8,n,1" For Output As #1
Dim Cl_ ... |
|