Search found 16 matches
- Tue Jul 05, 2016 11:43 pm
- Forum: Flowcode V6
- Topic: Help with Manuals
- Replies: 3
- Views: 4310
Re: Help with Manuals
Thanks for the awesome post. I'm able to read it over, though my trial expired so I can't run it. Still, something fleshed out goes a LONG ways towards showing how to actually do it. Unfortunately, the console doesn't show up and some of the commands are blank, so I think until I reconnect with the ...
- Sat Jul 02, 2016 3:13 am
- Forum: Flowcode V6
- Topic: Help with Manuals
- Replies: 3
- Views: 4310
Re: Help with Manuals
Er, sorry for the inadvertent tone there - I was being called away and really let my frustration come out demanding. I'm nearing the end of my free trial, and it seems like features are skipped in the documentation, and I'm concerned about the utility of the program if I can't get a sample code that...
- Sat Jul 02, 2016 1:20 am
- Forum: Flowcode V6
- Topic: Help with Manuals
- Replies: 3
- Views: 4310
Help with Manuals
I've been trying to do a few things I consider to be relatively striaghtforward. I'd like to be able to get timestamps, and I'd like to monitor my chip from my PC. I've tried the downloadable example at http://www.matrixtsl.com/wiki/index.php?title=Component:_RS232_(Comms) I've messed with it some a...
- Tue Jun 21, 2016 7:15 pm
- Forum: Flowcode V6
- Topic: ATTINY85/Digispark
- Replies: 0
- Views: 3340
ATTINY85/Digispark
How does one make these work? Apparently there's a 5-second rule for uploading, when the device is first plugged in to USB, it'll remain programmable for 5 seconds, then runs its loaded code otherwise. Can I use this with FlowCode? It doesn't show up as a com port in project properties, though if I ...
- Sat Jun 11, 2016 10:33 pm
- Forum: General Programming
- Topic: Timestamp issues with Arduino Uno (328p)
- Replies: 9
- Views: 10011
Re: Timestamp issues with Arduino Uno (328p)
Ok, I added some debug stuff (there's a better way to set debug flags, no?), and it seems I get the same result as Mark - millis() seems to be returning "0". I tried changing "mils" to an unsigned long (what millis is supposed to return as I understand it) - and I changed the chi...
- Sat Jun 11, 2016 9:53 pm
- Forum: Flowcode V6
- Topic: Self-Triggered Interrupts
- Replies: 2
- Views: 3642
Re: Self-Triggered Interrupts
In trying to reproduce this, I can't see how to define the Pin Properties. Ah! For those in a similar situation, here's what I tried: ------------- Panel properties (i.e. click where buttons and lights etc are displayed, but NOT on any specific device. Then back in the main window, click "prope...
- Sat Jun 11, 2016 8:24 pm
- Forum: General Programming
- Topic: Timestamp issues with Arduino Uno (328p)
- Replies: 9
- Views: 10011
Re: Timestamp issues with Arduino Uno (328p)
I don't have an LCD yet, and haven't taken the time to write something to get it to put out numbers on just plain binary LED's yet. Aside: On the original project, I just made my own 3 line clock, work in 0.978... ms clock ticks, and it seems fine. I've yet to test for/figure out what happens with i...
- Thu Jun 09, 2016 9:31 pm
- Forum: General Programming
- Topic: Timestamp issues with Arduino Uno (328p)
- Replies: 9
- Views: 10011
Re: Timestamp issues with Arduino Uno (328p)
Ah, thanks Ben! It's going to take a little review to get why yours compiles and mine doesn't, but it looks reasonable enough.
I guess putting "add timers as components" in the feature suggestions is obvious?
I guess putting "add timers as components" in the feature suggestions is obvious?

- Tue Jun 07, 2016 8:01 pm
- Forum: General Programming
- Topic: Timestamp issues with Arduino Uno (328p)
- Replies: 9
- Views: 10011
Re: Timestamp issues with Arduino Uno (328p)
So how exactly does one go about putting this function in so that it can be used? There's no single paste-this-in thing I can see. I've been trying to divide up the various statements in the post into what goes into which box, and getting a variety of errors. The linked info makes it straightforward...
- Tue Jun 07, 2016 2:40 am
- Forum: General Programming
- Topic: Timestamp issues with Arduino Uno (328p)
- Replies: 9
- Views: 10011
Re: Timestamp issues with Arduino Uno (328p)
I tried putting the line in as C code, and while I'm not sure I'm doing it right, it looks like my problem stems from it not being declared/included? It precompiles to: // C Code // C Code: /* Enter C code below this comment */ FCV_IGNEVENTTIMESTAMP = millis(); which looks reasonable to me, but I ge...
- Tue Jun 07, 2016 12:31 am
- Forum: General Programming
- Topic: Timestamp issues with Arduino Uno (328p)
- Replies: 9
- Views: 10011
Re: Timestamp issues with Arduino Uno (328p)
Doing a bit more digging: There's a command millis() (see https://www.arduino.cc/en/Reference/Millis) which looks like it should do the same thing, but I'm not sure how to put it in. If I put it in as C, it says the variable I'm using is undeclared (though it works in other spots in the code). If I ...
- Mon Jun 06, 2016 11:42 pm
- Forum: General Programming
- Topic: Timestamp issues with Arduino Uno (328p)
- Replies: 9
- Views: 10011
Timestamp issues with Arduino Uno (328p)
I've got like half a day into this, and am at a loss: In simulation, I can have a routine that uses the Time/Get-Millisecs function, which fills my array and works ok. In hardware, I can get the ISR to run, it'll flash a light, etc, as needed. But I'm not sure if my values are making it into my arra...
- Mon Jun 06, 2016 11:40 pm
- Forum: Flowcode V6
- Topic: Self-Triggered Interrupts
- Replies: 2
- Views: 3642
Self-Triggered Interrupts
I'm trying to test a program, and not having another source of clocked pulses, I'm using my Arduino to interrupt itself: I've got pin 2 (PCINT0) hooked to pin 8 (PortB.0), with a pull up. On the hardware, this works fine, but I'm not sure how to set up the simulation. I'd also like to be able to use...
- Sun Jun 05, 2016 9:36 pm
- Forum: Flowcode V6
- Topic: 7 Segment Compile Error on Arduino Uno
- Replies: 2
- Views: 3671
Re: 7 Segment Compile Error on Arduino Uno
Thanks Martin! I thought disabling the icon would do it. Changing the port as you said worked.
Is there some option to keep it from putting in includes for commented out items?
Is there some option to keep it from putting in includes for commented out items?
- Sat Jun 04, 2016 8:34 pm
- Forum: Flowcode V6
- Topic: Arbitrary/Countdown timers on Arduino/328p, Counter?
- Replies: 0
- Views: 3382
Arbitrary/Countdown timers on Arduino/328p, Counter?
Howdy! Sorry for two posts in one day, but they are separate topics! I'm looking for a bit of guidance on how to approach this problem - I want to get the frequency of a pulse train - I need to know when I'm over 70 Hz, or under ~40. Would it be best to make use an interrupt to increment a counter p...
- Sat Jun 04, 2016 8:29 pm
- Forum: Flowcode V6
- Topic: 7 Segment Compile Error on Arduino Uno
- Replies: 2
- Views: 3671
7 Segment Compile Error on Arduino Uno
I'm pretty new to FlowCode, though I have so far been able to do everything I want without any big issues. Running through a quick test, I wanted to use the 7 segment display output. There's a couple issues, which may be a root cause, but here's the short version - I get compile errors for undefined...