Search found 1086 matches

by basicchip
Wed Jan 16, 2013 11:34 pm
Forum: Software issues
Topic: delays with loops
Replies: 0
Views: 5708

delays with loops

>from help line >... what's driving > me crazy at the moment is trying to get a short (1-2usec) > delay to give the open drain clock lines enough rise > time... > trying something like this: void dly1() { for (x=0; > x<100; x++) z++; } where x and z are ints > > can you explain why the compiler give...
by basicchip
Wed Jan 16, 2013 11:33 pm
Forum: Software issues
Topic: Other text editors
Replies: 2
Views: 6950

Re: Other text editors

It could be as simple as just running makeitc via command line. I don't mind that. Just take your button function, and be able to call that on the command line. The output can just be the gcc output directed to the output stream. I am surprised you didn't start with the cmdline code first, then buil...
by basicchip
Wed Jan 16, 2013 11:32 pm
Forum: Software issues
Topic: Oberon language support
Replies: 12
Views: 19886

Re: Oberon language support

--- In ARMexpress@yahoogroups.com, "cfbsoftware1" wrote: > > --- In ARMexpress@yahoogroups.com, "basicnode" wrote: > > > > > Has anyone tried Programming any of the Coridium boards using > this compiler? http://www.armaide.com/ > > > (Oberon is a decendent of Pascal/Modula-2 by N. Wirth). > > > > > ...
by basicchip
Wed Jan 16, 2013 11:31 pm
Forum: Software issues
Topic: Other text editors
Replies: 2
Views: 6950

Other text editors

>from the help line > Probably been asked before, but can we drive MakeItC from a command line? I didn't see it in the help. Not sure this makes sense to do, but the opposite might be true. You could use MakeItC to generate a batch file. In fact, in an unreleased version, I am logging all the comman...
by basicchip
Wed Jan 16, 2013 11:13 pm
Forum: Future products
Topic: .Net Micro Framework Boards running Interpreter Visual Basic
Replies: 1
Views: 14794

Re: .Net Micro Framework Boards running Interpreter Visual B

It's probably not that bad except for (from their spec sheet) -- The memory requirements for the .NET Micro Framework depend entirely on which features you use. In its smallest form, the framework requires 64 Kb of RAM and 256 Kb of flash memory. ---------------------- Our biggest parts have just th...
by basicchip
Fri Jan 11, 2013 5:57 pm
Forum: Software issues
Topic: Interrupts and Thumb vs ARM code
Replies: 0
Views: 5692

Interrupts and Thumb vs ARM code

>from the help line Looking at Interrupt Sub example in ARMBASIC.pdf as well as example code GPIO_INT.bas; everything mostly makes sense EXCEPT for where the address of the ISR is loaded: why do you need to OR it with a 1 ?? GPIO_INT.bas: EINT3_ISR = dothis or 1 'Set the ISR, EINT3 channel is shared...
by basicchip
Mon Jan 07, 2013 11:04 pm
Forum: Kitchen sink
Topic: Computing CRC-CCITT (0xFFFF)
Replies: 3
Views: 10212

Re: Computing CRC-CCITT (0xFFFF)

You could always create a macro to do bit set, clear or test -- I'm just so use to seeing the AND (1<<x) in code

Code: Select all

#define BITSET(x,bit)        (x  OR (1<<bit))
#define BITCLEAR(x,bit)      (x AND NOT(1<<bit))
#define TESTBIT(x,bit)       (x AND (1<<bit))
 
by basicchip
Mon Jan 07, 2013 7:43 pm
Forum: Kitchen sink
Topic: Computing CRC-CCITT (0xFFFF)
Replies: 3
Views: 10212

Re: Computing CRC-CCITT (0xFFFF)

C and BASIC manipulate bits pretty much the same way. Mask a bit with & (C) AND (BASIC) with a hex value x AND (1<<5) chooses bit 5. Or you could write x AND 0x20 You could write functions to do it, but that would slow you down. There are lots of examples of calculating different CRC and it should b...
by basicchip
Mon Dec 31, 2012 9:03 pm
Forum: Serial Communication
Topic: Serial to ublox 6 gps
Replies: 2
Views: 11501

Re: Serial to ublox 6 gps

I can't speak to the syntax to the GPS, I know others out there have used similar devices But your ShortMessage needs to be a string or byte array, not an array of integers, and the compiler will complain about that-- #include <SERIAL.bas> DIM xx(20) serout (10,9600,1,19,xx) ERROR 25: Expected strin...
by basicchip
Tue Dec 18, 2012 4:34 pm
Forum: Software issues
Topic: ARMweb update
Replies: 0
Views: 5991

ARMweb update

The ARMweb has been set up as a server. For years we've been asked to add the client side, and for the longest time we just thought that would be too involved. But really we weren't seeing the simple side of that request. What most wanted was the ability for the ARMweb to do a GET or POST to a web s...