sagmill
Member
Hi
I have a problem using the hex file generated by b4r.
I wrote a simple program that has a flashing led.
When I burn the hex file to an Atmega8a.
The LED light is very weak, although the program is correct and works properly.
I changed some settings such as boudrate or delay time between flashing or pin but the problem was not fixed.
is anyone helping?
I have a problem using the hex file generated by b4r.
I wrote a simple program that has a flashing led.
B4X:
#Region Project Attributes
#AutoFlushLogs: True
#CheckArrayBounds: True
#StackBufferSize: 300
#End Region
Sub Process_Globals
Public Serial1 As Serial
Dim pin As Pin
End Sub
Private Sub AppStart
Serial1.Initialize(9600)
pin.Initialize(0,pin.MODE_OUTPUT)
AddLooper("Looper1")
End Sub
Sub Looper1
pin.DigitalWrite(True)
Delay(2000)
pin.DigitalWrite(False)
Delay(2000)
End Sub
When I burn the hex file to an Atmega8a.
The LED light is very weak, although the program is correct and works properly.
I changed some settings such as boudrate or delay time between flashing or pin but the problem was not fixed.
is anyone helping?