Search found 31 matches

by Demolishun
Fri May 03, 2013 8:27 am
Forum: General Discussion
Topic: Trouble creating interrupt handlers
Replies: 7
Views: 3563

Re: Trouble creating interrupt handlers

@jumpin_jack
Thank you for your C function fix. I was tearing my hair out!
by Demolishun
Sat Apr 13, 2013 8:52 am
Forum: chipKIT Boards
Topic: PWM specs?
Replies: 14
Views: 4763

Re: PWM specs?

No it does not provide 28 PWM, BUT you can turn one PWM channel into 8 rc servo PWM fairly simply. It is vector assisted PWM. You have the output of a PWM channel either set to trigger on interrupt, or run a physical line to a pin that does interrupt. Then when it triggers you tweak the PWM pulse wi...
by Demolishun
Wed Oct 10, 2012 10:38 pm
Forum: What are you developing?
Topic: ATARI ST Interface with the outer world
Replies: 4
Views: 3947

Re: ATARI ST Interface with the outer world

USB OTG and flash drive?

Can you use the DMA at all to help with interface?
by Demolishun
Sun Jul 15, 2012 9:56 pm
Forum: Libraries
Topic: [Code Posted] Change Notification Interrupts
Replies: 14
Views: 3414

Re: [Code Posted] Change Notification Interrupts

Looks great. It is definitely an option for people who do not want to modify the core. My code changes follow the pattern laid out by the original coders. I did not write the code for edge triggering that already existed. It also follows the interface standards set the Arduino coders. I see that you...
by Demolishun
Wed Jun 27, 2012 3:19 am
Forum: Libraries
Topic: [Code Posted] Change Notification Interrupts
Replies: 14
Views: 3414

Re: [Code Posted] Change Notification Interrupts

Try this for enabling the interrupts: // change notification interrupts case EXT_CN0: #ifdef _BOARD_MEGA_ CNENbits.CNEN0 = 1; CNPUEbits.CNPUE0 = pullup; CN_BIT_SET(cn_last,PORTB,2,0x01); #else // not on Uno32 #warning "EXT_CN0 is not implemented" good_vector = 0; #endif break; case EXT_CN1: #ifdef _...
by Demolishun
Tue Jun 26, 2012 10:25 pm
Forum: chipKIT Boards
Topic: [Solved!] 5Mbps serial connection, Uno32 goes into lala land
Replies: 4
Views: 2147

Re: [Solved!] 5Mbps serial connection, Uno32 goes into lala

There is still a problem with the error detection and correction using the above code. Here is how it should be done and is working reliably: void HardwareSerial::doSerialInt(void) { int bufIndex; uint8_t ch; uint32_t tmp_mode; /* If it's a receive interrupt, get the character and store ** it in the...
by Demolishun
Tue Jun 26, 2012 10:20 pm
Forum: Libraries
Topic: [Code Posted] Change Notification Interrupts
Replies: 14
Views: 3414

Re: [Code Posted] Change Notification Interrupts

@lanmat, nice to meet you. I apologize for not getting back to you quicker. It needs more changes than that. It also needs to have a couple of changes in the interrupt handler. There is room there in the handler, but it needs to be adjusted to have it actually call the interrupt when it sees the pin...
by Demolishun
Mon Jun 11, 2012 10:40 pm
Forum: Shields
Topic: VNCLO-MB1A Shield looks like it could work for the Uno32
Replies: 4
Views: 1221

Re: VNCLO-MB1A Shield looks like it could work for the Uno3

The board I am testing is just the PCB prototyping kit. The main Viniculum board (VNCLO-MB1A) is a stand alone dev board that does usb host and usb device as well as providing a processor that has more IO than the original Arduino. That is not what I am testing here. I am testing a shield (VNCLO-SHL...
by Demolishun
Sat Jun 09, 2012 2:30 am
Forum: Shields
Topic: VNCLO-MB1A Shield looks like it could work for the Uno32
Replies: 4
Views: 1221

Re: VNCLO-MB1A Shield looks like it could work for the Uno3

It works, but it is setup different. The viniculum board has the extra pins on the outside of the standard Arduino pins. So it causes the analog pins to plug into A6 to A11 instead of A0 to A5. You will also have to clip the last 2 pins on the power sockets and bend the pins slightly to plug into th...
by Demolishun
Wed Jun 06, 2012 7:59 am
Forum: chipKIT Boards
Topic: Hardware buffer HCT244/HCT245 on inputs/outputs?
Replies: 0
Views: 664

Hardware buffer HCT244/HCT245 on inputs/outputs?

I have a system built and it seems to work fine. I have inputs coming from TTL sources, and outputs going to TTL. Both incoming and outgoing TTL are 5V. I also have made it so all my inputs / outputs to TTL use 5V tolerant pins just to be hopefully a little more robust. The problem is I am concerned...