Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 598 matches
www.mcselec.com Forum Index
Author Message
  Topic: SD card hardware SPI problems
EDC

Replies: 13
Views: 162

PostForum: AVR-DOS   Posted: Wed Aug 14, 2019 7:21 am   Subject: SD card hardware SPI problems
Why dont you use newest 2082?
Like picture shows, your code compiles fine, without errors.
Mabe your Bascom have some problem with license Very Happy
https://www.mcselec.com/userpix/22760_spi_hard_1.jpg
  Topic: Nextion Display works with bascom
EDC

Replies: 8
Views: 3556

PostForum: Share your working BASCOM-AVR code here   Posted: Fri Aug 09, 2019 10:45 am   Subject: Nextion Display works with bascom
Hello Mr Duval JP (Jean Pierre ? I`m from Poland but I was learn four years French Very Happy) I really like it Very Happy
"Regard la bas, se Philipe , nes pas?" ahahahaha this is the quote from the first page of ...
  Topic: Warning please :D
EDC

Replies: 7
Views: 255

PostForum: BASCOM-AVR   Posted: Tue Aug 06, 2019 4:19 pm   Subject: Warning please :D
Maybe I need some rest because it takes me an hour to configure what is wrong with my large code.
So I make this small one for the simulator and still wondering why it compiles fine but COM1 still pr ...
  Topic: Help needed to explain bit 8 on Gyro Sensor data transfur
EDC

Replies: 2
Views: 72

PostForum: BASCOM-AVR   Posted: Mon Aug 05, 2019 8:05 am   Subject: Help needed to explain bit 8 on Gyro Sensor data transfur
Datasheet page 29 :
In order to read multiple bytes, it is necessary to assert the most significant bit of the sub-
address field. In other words, SUB(7) must be equal to 1 while SUB(6-0) represents ...
  Topic: Can't declare new Function?
EDC

Replies: 3
Views: 160

PostForum: BASCOM-AVR   Posted: Sun Aug 04, 2019 7:58 pm   Subject: Can't declare new Function?
You should declare what type of variable "Test" will be...
Declare Function Converttolog(byval Test As Byte) As Single


Function Converttolog(byval Test As Byte) As Single


En ...
  Topic: Sending BGF Files via TX Pin ?
EDC

Replies: 13
Views: 220

PostForum: BASCOM-AVR   Posted: Thu Jul 25, 2019 8:01 pm   Subject: Sending BGF Files via TX Pin ?
When ive read :
..(witch can show the BGF file)
I was think that you have the receiver side done Very Happy
..and, ofcourse I made mistake in my code. Should be "Printbin" instead "Print". That`s why you s ...
  Topic: How to print a array?
EDC

Replies: 2
Views: 104

PostForum: BASCOM-AVR   Posted: Thu Jul 25, 2019 7:52 pm   Subject: How to print a array?
Check topic "Printbin" in the help.
Printbin Array(1) 'whole array will be sent if not specified
  Topic: Sending BGF Files via TX Pin ?
EDC

Replies: 13
Views: 220

PostForum: BASCOM-AVR   Posted: Wed Jul 24, 2019 3:35 pm   Subject: Sending BGF Files via TX Pin ?
Interesting idea Very Happy

I think you must check "Properties" of the needed BGF file in Windows Explorator to know EXACTLY how many bytes this BGF have.
Then, for example, if this file have 200 bytes co ...
  Topic: corrupted setting file ???
EDC

Replies: 2
Views: 121

PostForum: BASCOM-AVR   Posted: Mon Jun 10, 2019 2:05 am   Subject: corrupted setting file ???
In the Bascom IDE ->Help tab->About tab-> you will find link to "App data dir"
Open this link and then close Bascom.
Now rename file with *.xml extension (bascom-avr.xml). This is the file ...
  Topic: Atmega 328p How reset by software ?
EDC

Replies: 7
Views: 345

PostForum: BASCOM-AVR   Posted: Thu Jun 06, 2019 7:35 am   Subject: Atmega 328p How reset by software ?
Here you have. Now you can add more "AT" commands but this basic code react for "AT+RST".
You can use it for debug/reseting over Bascom,or any other, terminal emulator , or even use it with MCS Bootl ...
  Topic: ATTiny 2313A Timer0 PWM
EDC

Replies: 2
Views: 176

PostForum: BASCOM-AVR   Posted: Fri May 24, 2019 9:49 am   Subject: ATTiny 2313A Timer0 PWM
Simply 8 bit timer not need parameter "Pwm = 8"
Remove it and code should compile fine Very Happy
  Topic: Minor increases in duty cycle values
EDC

Replies: 5
Views: 256

PostForum: BASCOM-AVR   Posted: Wed May 22, 2019 2:59 pm   Subject: Minor increases in duty cycle values
Please take a look for something I use and it working fine Very Happy
https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewforum&f=8

You use Mega that have two 16 bit timers. ...
  Topic: Simplest Freq/Duty generator an measure
EDC

Replies: 1
Views: 658

PostForum: Share your working BASCOM-AVR code here   Posted: Wed May 22, 2019 2:52 pm   Subject: Simplest Freq/Duty generator an measure
I really don know why I dont post this simplest method for generate desired square wave.
I was think that this is already shared so maybe Im belated...

This two codes and schematics enable to gene ...
  Topic: channel numbers in variables
EDC

Replies: 5
Views: 218

PostForum: BASCOM-AVR   Posted: Sat May 18, 2019 12:11 am   Subject: channel numbers in variables
I think that you choose wrong chip for this task but in our country we search for the solutions, we dont search for the troubles Very Happy ahahaha...
To the point. Look at the example code that can print in ...
  Topic: Compile error with V.2.0.8.1
EDC

Replies: 2
Views: 134

PostForum: BASCOM-AVR   Posted: Wed May 15, 2019 3:55 pm   Subject: Compile error with V.2.0.8.1
Do you have exclamation mark (!) before every ASM AVR mnemonic?
Something like that:
Do_spm:
Bitwait Spmcsr.0 , Reset ' check for previous SPM complete
B ...
 
Page 1 of 40 Goto page 1, 2, 3 ... 38, 39, 40  Next
All times are GMT + 1 Hour
Jump to: