Search found 1053 matches

by basicchip
Wed Jan 16, 2013 11:31 pm
Forum: Software issues
Topic: Other text editors
Replies: 2
Views: 6520

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: 14255

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: 5305

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: 9580

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: 9580

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: 10820

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: 5624

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...
by basicchip
Thu Dec 13, 2012 4:21 pm
Forum: Software issues
Topic: Interrupts using the SuperPro with Basic Tools
Replies: 2
Views: 7551

Re: Interrupts using the SuperPro with Basic Tools

As I asked before, what version of firmware are you using? (it's in the Welcome to ... message following a STOP) Actually I got a clue from your cut and paste 8.15 firmware -- ... ( 0.36K code + 0.07K string)/96K 0.02/9K data programmed your version-- ... ( 0.36K code + 0.07K string)/68K 0.02/9K dat...
by basicchip
Wed Dec 05, 2012 3:37 pm
Forum: Projects
Topic: reading a voltage with a SuperPRO
Replies: 8
Views: 16591

Re: reading a voltage with a SuperPRO

mmcginty wrote:Bruce, I would've posted here originally if there was a link on the home page of the yahoo group (which, as of 5 minutes ago I rather prefer.)
OK, I'll see if I can do that
by basicchip
Wed Dec 05, 2012 1:38 am
Forum: Projects
Topic: reading a voltage with a SuperPRO
Replies: 8
Views: 16591

Re: reading a voltage with a SuperPRO

Thanks Dan,

I should have made that clear.

"KeepIt SimpleStupid" I have standard value 0.1% resistors from 1950's and used
special value 0.01%? from Vishay 25 years ago.

Cheers
Will