User Activity

  • Posted a comment on discussion Help on GCBASIC

    Thanks. I will try that. So once there is a "ON INTERRUPT" all other interrupts need to be handled with a ON INTERRUPT (you can no longer rely on the PIRx.0 bits to monitor when an interrupt has taken place.

  • Posted a comment on discussion Help on GCBASIC

    I am using a PIC16LF18855. The project is a clock. To update the time I need an interrupt on timer1 and I also need an interrupt when the setting pin is pressed. Up to now I have been polling the interrupt flag bits (PIR4.0 and PIR0.0) and it worked. There was some slight problems with accuracy which may be overcome by having timer1 overflow go to an interrupt service routine. Problem is when I insert the line... on interrupt timer1overflow call change Now the interrupt pin for setting the time does...

  • Posted a comment on discussion User Submitted Projects, Demos & Guides on GCBASIC

    Here's a picture with the top removed to reveal the two steppers and a mass of cogs.

  • Posted a comment on discussion User Submitted Projects, Demos & Guides on GCBASIC

    There are also steppers of this type with two concentric shafts VID28-05 (aka BKA30D-R5). I have made a temperature gauge that shows both inside and outside temperatures. Attached is a picture of the gauge and that of the double stepper motor (note the large number of cogs - this give rise to lash and some inaccuracy). It would seem I can only load one picture per post so the cogs will have to wait.

  • Posted a comment on discussion Open Discussion on GCBASIC

    Confusing! Apologies for completely misunderstanding the problem.

  • Posted a comment on discussion Open Discussion on GCBASIC

    Am I correct in the assumption that you are using a 18F67K40. Its got so many pins you could drive the LED display directly!(and its got 2 x I2C/SPI modules)

  • Posted a comment on discussion Open Discussion on GCBASIC

    You need to send an address followed by one byte of data. (the addresses and data are of course in the datasheet) Chip select FastHWSPITransfer address FastHWSPITransfer data Chip unselect

  • Posted a comment on discussion Open Discussion on GCBASIC

    Would a brown-out reset work better (never tried it so I don't know).

View All

Personal Data

Username:
uwidavid
Joined:
2009-07-30 18:38:05
Location:
Felixstowe / Britain (UK) / BST

Projects

  • No projects to display.

Personal Tools