Search found 358 matches

by olzeke51
Sat Dec 29, 2018 1:45 am
Forum: Projects
Topic: web based clock
Replies: 28
Views: 7831

Re: web based clock

Lookin' good.
'
I did some muxing in my Dicer-deluxe program. I buffered the signals because they weren't 5v tolerant;
and the segments were 2 LEDs in series and needed the full 5v.
'
Good looking G-job!!
Gary
by olzeke51
Mon Dec 10, 2018 4:10 pm
Forum: Kitchen sink
Topic: SizeOf built-in function?
Replies: 3
Views: 1770

Re: SizeOf built-in function?

Me, I would put the value in the index(0) position, then use a 'terminator' character - as the last position or data then run it through a for/next counting until the 'terminator' is encountered [ascii control codes &H0 - &H1F might be a good choice - depending on your data style] this would give yo...
by olzeke51
Tue Nov 27, 2018 11:25 am
Forum: Software issues
Topic: ConBasic- Hello World
Replies: 9
Views: 3147

Re: ConBasic- Hello World

Yes it can do upto a 4k section of code - as that is the Flash limit currently in MiC. the 'hello world' is set kup for bare-metal OR ConBasic via a #def onBasic. ' onBasic will incorporate at least 17 (iirc) routines that ARMbasic uses, at your disposal time, interrupts, usart, print I do believe a...
by olzeke51
Tue Nov 27, 2018 1:52 am
Forum: Software issues
Topic: TIMER writing // LPC824
Replies: 1
Views: 544

TIMER writing // LPC824

Was checking some time for subroutines, attempted to reset your TIMER by writing to it. [Your online Help says it can be written to] It does not appear to start at the value given it - but at ?? (zero?) Program delays seem to effect WAITMICRO(x) also. Here is my code: (Timer=8000 or 18000) temp =TIM...
by olzeke51
Mon Nov 26, 2018 10:01 pm
Forum: Software issues
Topic: MakeItC bare-metal Recovery
Replies: 1
Views: 621

MakeItC bare-metal Recovery

UH, I ran the 'hello world.c' example as it was presented [I did put my name in there!!] ' PROBLEM is .. I wasn't paying attention to the 'onBasic' #def !!! so ended up with the bare-metal program. Works - 'cept I can't get it to stop / cleared -- so I can load another program. ' the <Stop> and <Res...
by olzeke51
Tue Nov 20, 2018 12:53 am
Forum: Software issues
Topic: First Run Only Trigger?
Replies: 3
Views: 869

Re: First Run Only Trigger?

this might be a way to gen a first run flag.
? a long way around ????
Olzeke51
by olzeke51
Fri Nov 16, 2018 11:34 pm
Forum: Software issues
Topic: Arrays of strings
Replies: 3
Views: 790

Re: Arrays of strings

I think the closest you can get is a CONST bytearrayname , and use a multiplier on the error status index to get into the array. Kind of like the old-style flat file database. There is wasted space in memory unless you make them all the same size. ' You might be able to use the PARAMARRAY to hold AD...
by olzeke51
Thu Nov 15, 2018 12:05 pm
Forum: Software issues
Topic: OUT() in ARMbasic [9.37m]
Replies: 2
Views: 857

Re: OUT() in ARMbasic [9.37m]

RESOLVED......
'
the pin configuration needs to be in the 'Main:' routine .... NOT before it.
'
FWIW - a 'label:' routine needs a RETURN , not an ENDSUB to close it out......
'
Shouldn't have taken summer off (for gardening) from programming.
This shot a hole in my afternoon!!!
Gary Z
resolved.jpg
resolved.jpg (40.76 KiB) Viewed 853 times
by olzeke51
Thu Nov 15, 2018 2:01 am
Forum: Software issues
Topic: OUT() in ARMbasic [9.37m]
Replies: 2
Views: 857

OUT() in ARMbasic [9.37m]

Trying to use the DIP800 in an OEM pcb. Ran into problems with control signals not toggling. ' 1)Loading and running this short program indicates that OUT() doesn't work UNTIL IO() has run !!! dim x, p ' '' I/O RUNS thru (28) 'These are the AD0 - AD7 (add/data) pins OUTPUT(16) 'GREEN LED OUTPUT(17) ...
by olzeke51
Mon Nov 12, 2018 7:54 pm
Forum: Projects
Topic: LPC800-DIP
Replies: 7
Views: 3334

Re: LPC800-DIP

OOPs -- pin 1 and 10 are also duplicated on the 800DIP
this is the RXD info to the USB (or serial)
'
will edit my original post on pin usage also