Search found 9 matches

by ctkilian
Tue Nov 08, 2022 12:49 am
Forum: Software issues
Topic: simple Interrupt for PROstart
Replies: 6
Views: 1706

Re: simple Interrupt for PROstart

on further examination it turns out that the line
if rise_edge then GPIO0_IEV = (1<<3)
must be included to make the interrupt happen on the rising edge (otherwise it happens on the falling edge)
Chris
by ctkilian
Wed Nov 02, 2022 12:17 am
Forum: Software issues
Topic: simple Interrupt for PROstart
Replies: 6
Views: 1706

Re: simple Interrupt for PROstart

Thanks again, I got it to work on P0.3, although I had to "comment out" 2 lines that I thought you said should be there (see below). Chris 'LPC1114Int_tst3 this test routine demonstrates using an external interrupt on P0.3 #if defined(LPC1114) #define INT_STR "GPIO0.1" #endif dim e0 as integer dim s...
by ctkilian
Sun Oct 30, 2022 1:47 am
Forum: Software issues
Topic: simple Interrupt for PROstart
Replies: 6
Views: 1706

Re: simple Interrupt for PROstart

Thanks, the example works, but I can't figure out how to modify the example for an external interrupt coming in on, say, P0.3.
Chris
by ctkilian
Wed Oct 26, 2022 12:42 pm
Forum: Software issues
Topic: simple Interrupt for PROstart
Replies: 6
Views: 1706

simple Interrupt for PROstart

I could really use a sample program (using BASIC) of using an external interrupt on a PRO start board. Ultimately I would like to have 2 interrupting devices.
Thank you, Chris
by ctkilian
Fri Sep 03, 2021 1:25 am
Forum: Software issues
Topic: Can't get HWPWM to work
Replies: 1
Views: 4233

Can't get HWPWM to work

I have a Super Pro, trying to get HWPWM to work. The following little test program will compile, but there is no output on IO(64) (which is channel 1) that I can see with my scope. Any ideas? Thanks, Chris

#include <HWPWM17.bas>
main:
HWPWM(1,1000,750)
end
by ctkilian
Mon Aug 30, 2021 2:23 am
Forum: Projects
Topic: Trying to interface Super Pro to VL53L1X TOF distance sensor
Replies: 1
Views: 4663

Trying to interface Super Pro to VL53L1X TOF distance sensor

I am trying to interface my Super Pro board (with Basic) to (up to six of) these new (and inexpensive) TOF VL53L1X distance sensors. These sensors only interface with serial I2C interface, and require special setup software (which I have not seen in Basic). Does anyone have a suggestion of where I c...
by ctkilian
Wed May 05, 2021 12:57 am
Forum: Software issues
Topic: getting "unreachable" error msg
Replies: 1
Views: 3889

getting "unreachable" error msg

I just installed the latest Basictools on my Windows 10 PC. Everything had been working fine on my old XP machine (which just kicked the bucket), so I was surprised when I went to run the same programs on my new setup and all I get is "unreachable statement" errors on all my statements. I am using N...
by ctkilian
Sat Feb 21, 2015 1:33 pm
Forum: Projects
Topic: Video and interrupts
Replies: 4
Views: 12437

Re: Video and interrupts

I believe I have solved the problem of the program stopping. It turned out there was a loop in the interrupt sub that I just didn't see-in all the times I stared at it! But now I have some questions about interrupts, am I right that the interrupt line should be normally high and active low? Also, do...
by ctkilian
Fri Feb 20, 2015 2:48 pm
Forum: Projects
Topic: Video and interrupts
Replies: 4
Views: 12437

Re: Video and interrupts

Thanks Bruce for the suggestions. In my troubleshooting a new issue has made itself apparent, which is that after unit B sends an interrupt (or two) , unit A simply stops working, like it's hit an "end" command, (or stuck in a loop, and I think I've eliminated that possibly). The only "end" command ...