Search found 386 matches

by BennehBoy
Fri Mar 24, 2017 2:07 pm
Forum: Ideas & suggestions
Topic: Best way to point to arrays of various sizes?
Replies: 5
Views: 36

Re: Best way to point to arrays of various sizes?

That's because you're defining your array as type int

Code: Select all

int samples[100]; array size is defined


just change the function definition accordingly....

unsigned long find_mean(int sampleNum, int *sampleSet)
by BennehBoy
Fri Mar 24, 2017 1:47 pm
Forum: Ideas & suggestions
Topic: Best way to point to arrays of various sizes?
Replies: 5
Views: 36

Re: Best way to point to arrays of various sizes?

unsigned long find_mean(int sampleNum, unsigned long *sampleSet)
by BennehBoy
Thu Mar 23, 2017 2:37 pm
Forum: Off topic
Topic: C64 as serial terminal
Replies: 4
Views: 57

Re: C64 as serial terminal

Cool, a C128 was my first 'new bought' computer. I started out on a used VIC20.
by BennehBoy
Wed Mar 22, 2017 4:58 pm
Forum: Off topic
Topic: C64 as serial terminal
Replies: 4
Views: 57

C64 as serial terminal

by BennehBoy
Wed Mar 22, 2017 11:25 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 13
Views: 137

Re: STM32F3 Discovery board support

Violet Giraffe wrote:Thanks. So what would be the best way to start? Takes these files from F103 and adjust for F303?


Yes I believe so - I'm far from qualified to comment but that just about amounts to the gist of what Roger has proposed to people, start with the F103 core and adjust for the hardware differences.
by BennehBoy
Wed Mar 22, 2017 10:46 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 13
Views: 137

Re: STM32F3 Discovery board support

I think it's just that Roger has not had time to do the conversion work from the maple core that he did for F103 - he's stated many times that anyone wishing to do so and submit a PR on the github repo is very welcome to do so. I'm not using F3 but may be tempted if the core was fleshed out further....
by BennehBoy
Tue Mar 21, 2017 6:37 pm
Forum: General discussion
Topic: Trying to read button presses
Replies: 14
Views: 173

Re: Trying to read button presses

Yeah best to spend as little time in an interrupt as possible.
by BennehBoy
Tue Mar 21, 2017 11:05 am
Forum: General discussion
Topic: Trying to read button presses
Replies: 14
Views: 173

Re: Trying to read button presses

Nutsy wrote:What about using interrupts?


It's possible, but a check in the main loop should be fast enough for human interaction. With the benefit of knowing exactly where in the code it's being triggered, ie not in the middle of something time sensitive.
by BennehBoy
Mon Mar 20, 2017 9:05 pm
Forum: Projects
Topic: In car multigauge
Replies: 128
Views: 1697

Re: In car multigauge

The ATX bench supply lives....

Image

No magic smoke! :lol: :lol:

Go to advanced search