Author |
Message |
Topic: 311.126983642 to 311.12 |
Printpix52
Replies: 7
Views: 3755
|
Forum: BASCOM-ARDUINO Posted: Sun Apr 10, 2022 3:14 am Subject: Re: 311.126983642 to 311.12 |
Hi, I'm doing math calculation as a simple test.
for example the result is 311.126983642 how would you do it for the result 311.12?
Look in string help but it's different.
BASCOM 2.0.8.5
$Regfi ... |
Topic: ARDUINO_NANO_PROGRAMADOR |
Printpix52
Replies: 9
Views: 4498
|
Forum: BASCOM-ARDUINO Posted: Sun Apr 10, 2022 2:40 am Subject: ARDUINO_NANO_PROGRAMADOR |
[img][/img] |
Topic: ARDUINO_NANO_PROGRAMADOR |
Printpix52
Replies: 9
Views: 4498
|
Forum: BASCOM-ARDUINO Posted: Sun Apr 10, 2022 1:50 am Subject: ARDUINO_NANO_PROGRAMADOR |
I use "Chinese" Arduino nano with CH340 usb serial with this setting without pb
https://www.mcselec.com/userpix/115_20220409_185112_1.jpg
I use 5V from external power supply (Velleman PS613) to ... |
Topic: ARDUINO_NANO_PROGRAMADOR |
Printpix52
Replies: 9
Views: 4498
|
Forum: BASCOM-ARDUINO Posted: Sat Apr 09, 2022 3:13 pm Subject: ARDUINO_NANO_PROGRAMADOR |
I have to restart my laptop and with Baud 56700 it already works and recognizes the chip.
Thank you very much!!! |
Topic: ARDUINO_NANO_PROGRAMADOR |
Printpix52
Replies: 9
Views: 4498
|
Forum: BASCOM-ARDUINO Posted: Sat Apr 09, 2022 3:05 pm Subject: ARDUINO_NANO_PROGRAMADOR |
Thanks for answering.
I also made them with baud 115200 it doesn't recognize the Arduino_nano chip either.
With Arduino_Uno it works very well. |
Topic: ARDUINO_NANO_PROGRAMADOR |
Printpix52
Replies: 9
Views: 4498
|
Forum: BASCOM-ARDUINO Posted: Sat Apr 09, 2022 7:08 am Subject: ARDUINO_NANO_PROGRAMADOR |
Hello everyone.
Today I bought Arduino_nano with Atmega 328p.
First I have tried with the Arduino IDE with Arduino_Nano and it worked successfully and Tested with COM_5 port
When testing with BAS ... |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Thu Apr 07, 2022 7:29 pm Subject: Arduino_Uno 16 Mhz To 8 Mhz |
Other examples for 990 milliseconds as a test.......perfect!!WOW!!
$regfile = "m328pdef.dat"
$crystal = 8000000
$hwstack = 40
$swstack = 16
$framesize = 32
Co ... |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Mon Apr 04, 2022 10:54 pm Subject: Arduino_Uno 16 Mhz To 8 Mhz |
I already understood how it works.
So you start with an oscillator freq of 16 Mhz. The divider is by default 1 so it will result in a 16 Mhz clock. For this reason you use $crystal=16000000
$reg ... |
Topic: ATMEGA48PA support? |
Printpix52
Replies: 4
Views: 2120
|
Forum: BASCOM-AVR Unsupported versions Posted: Thu Mar 31, 2022 1:21 am Subject: ATMEGA48PA support? |
Do it a test I don't know if it supports. |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Thu Mar 10, 2022 5:55 am Subject: Arduino_Uno 16 Mhz To 8 Mhz |
Thank you very much Family.
I'll start studying and experimenting. |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Thu Mar 10, 2022 3:51 am Subject: Arduino_Uno 16 Mhz To 8 Mhz |
$programmer = 22 'ARDUINO (using stk500v1 protocol)
$regfile = "m328pdef.dat"
$crystal = 8000000
$hwstack = 40
$swstack = 16
$fram ... |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Thu Mar 10, 2022 3:46 am Subject: Arduino_Uno 16 Mhz To 8 Mhz |
I see an LED turn on and off in 1 sec.
That works fine.
With the program: Config Clockdiv = 1
So are you okay?
$regfile = "m328pdef.dat"
$crystal = 16000000
$hwstack = 40
$swstack ... |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Wed Mar 09, 2022 11:34 pm Subject: Arduino_Uno 16 Mhz To 8 Mhz |
Thanks for the answers Albertms and Duval.
It's just testing if it can be split into two but it doesn't work like I thought it would.
Also, I have STK500, I can configure $crystal and without the ne ... |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Wed Mar 09, 2022 2:41 pm Subject: Arduino_Uno 16 Mhz To 8 Mhz |
Thank you for replying albertems
I have read in help but it does not say many.
It seems that it does not come out for one second but two seconds.
I don't have an oscilloscope to measure time.
$ ... |
Topic: Arduino_Uno 16 Mhz To 8 Mhz |
Printpix52
Replies: 16
Views: 7584
|
Forum: BASCOM-ARDUINO Posted: Wed Mar 09, 2022 1:49 am Subject: Arduino_Uno 16 Mhz To 8 Mhz |
Hello everyone.
Can the arduino_uno system clock and prescaler be set to 8Mhz?
I made a simple program as a second test.
Only for xtiny?
2.0.8.5 BASCOM
$regfile = "m328pdef.dat"
... |
|